Discussions

Ask a Question
Back to All

Unauthorized during fetch stream talk id

const resultUrl = https://api.d-id.com/talks/streams/${playResponse.data.talkId}/ice;
const resultRes = await axios.get(resultUrl, {
session_id: sessionId,
}, { headers });

Response :data: { message: 'Unauthorized' }

Can you guide me on how to fetch the video src during calling stream api ?
I have done connect and get the sessionId and streamId.
Also done start the stream, now i unable to play the video in frontend using reactjs.

I got like 10 times unauthorized error and the credit still deduct as usual, it not fair too