You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by deepakdumraliya September 8, 2022
Hello,
I am getting the following error Invalid Access Token issuer/subject Error Code: 20103 I have created a custom API to get an access token and called the same can you check the same and let me know what the issue is?
Thanks so much for sharing the link to your app. I could easily tell what is going on.
The "Invalid Access Token issuer/subject" error means that the Video SDK does not recognize the Twilio Account SID (subject) or API Key SID (issuer) of the token that the custom API is returning. This doesn't mean that the token is bad though.
I see that REACT_APP_TWILIO_ENVIRONMENT: "dev" is set in you .env file, which will direct our SDK to connect to our 'dev' servers instead of our 'prod' servers. The Account SID that issued the token does not exist in our 'dev' servers. Our 'dev' servers are just for internal use, so your app should always be connecting to the 'prod' servers. To do this, just remove REACT_APP_TWILIO_ENVIRONMENT: "dev" from your .env file and the SDK will default to the 'prod' servers.
Discussed in #748
Originally posted by deepakdumraliya September 8, 2022
Hello,
I am getting the following error Invalid Access Token issuer/subject Error Code: 20103 I have created a custom API to get an access token and called the same can you check the same and let me know what the issue is?
https://video-app-7103-7184-dev.twil.io?passcode=80573471037184
The text was updated successfully, but these errors were encountered: