Discussions

Ask a Question
Back to all

Question in SDK Work flow?

i am trying agent from live streaming demo git hub code but i am stuck at a point where to create a stream we add the source_url he asked for presenter_id is required but i dont have any presenter id for demo and if i add any presenter_id from documentation like a demo presenter_id bu at next step the
https://api.d-id.com/agents/agt_paPjlpra/chat/cht_VOeCNJErn1gmNQ2DaGbKa
Request Method
POST
gives error that
description:"missing or invalid session_id"
kind:"SessionError"

but i properlly pass stream id and session id comming from streams api or i send some wrong stream id like after that sdp api also gives a stream id but that id is not passed in that https://api.d-id.com/agents/agt_paPjlpra/chat/cht_VOeCNJErn1gmNQ2DaGbKa apis payload.

This is all from your sdk code. cam u help me with this as i need fast response