-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid token #249
Comments
Are you using RESTful API from your backend server side? |
As of now i can say that we are following this documentation : https://docs.agora.io/en/cloud-recording/restfulapi Once our server guys call start api then they will give us the token, resourceid, uid & sid and then we called join channel method from iOS & Android side. |
Hey 1 more doubt, like every members need to create separate token or all the members should use the same token and can join the channel with the same token? |
We are able to store the file at amazon s3 server but its only 112 Byte file even though we use the app 3-4 mins. Just 1 more question that should we need to create sid & resource id for the all joinee or only for 1? |
@tapannathvani you should generate separate token for different users, this will be safer. |
Thanks for the response. Now We called acquire method where we are passing a unique random uid (which is not the same as above 2) and generated a resourceId. Can you please help here if we are doing something wrong |
@tapannathvani sorry for late reply |
When he joins the channel? when he clicked on Join the channel.. we are generating a token for him with his uid.. and at that time we are calling acquire & start recording method also (with a unique id not the same as teacher or student) and he sees NOT_AUTHORIZED error in console |
Sorry for late response. If possible can you provide your request json for checking? |
@tapannathvani could you pls help provide the full console logs? and could you pls help provide a token you generated so that we can help verify? many thanks |
Hey that issue solved.. Thanks for the response |
Can you tell me how you solved it, I also encountered the same problem |
you are getting invalid token error or other one? if its invalid token then make sure UID should be the same which you are using to generate the token and channel name should be the same also.. |
Describe the bug
We are trying to create recording for one to one person.
Still we are getting invalid token error
Expected behavior
It should work like from Android to iOS and vice versa. Recording should be stored at our amazon s3 server
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: