Open DeepakDums1998 opened 1 year ago
Hi @DeepakDums1998 ,
Thanks for writing in with your question. The error raised usually has a code associated with it. Can you share it with me? Also, is there a way I can access a deployed version of your app? That will help me with debugging.
Hi, We have the same issue. We are using java to create the custom token using the Twilio Helper Library. I do not see an error code associated with the error. Below are screen shots of the errors and the console.
Here is how we are creating the token.
`
import com.twilio.Twilio;
import com.twilio.jwt.accesstoken.AccessToken;
import com.twilio.jwt.accesstoken.ChatGrant;
import com.twilio.jwt.accesstoken.VideoGrant;
VideoGrant roomGrant = new VideoGrant() .setRoom(room); ChatGrant chatGrant = new ChatGrant(); chatGrant.setServiceSid(serviceSid);
token = new AccessToken.Builder(
ACCOUNT_SID,
twilioApiKey,
twilioApiSecret
)
.identity(attendeeName)
.grant(roomGrant)
.grant(chatGrant)
.build();
`
Any hints on how to work around this error?
Question I have created a custom API in PHP for fetching tokens everything is going well but there is an issue in the conversation API
I am getting the following error There was a problem getting the Conversation associated with this room. Error: There was a problem getting the Conversation associated with this room.
here is my API CODE which I have created
`
$requestdata = json_decode($request->getContent(), true);
Additional context https://prnt.sc/2arWzh4uIvwJ