i’m pretty new to sendbird, and trying to implement this to my laravel project.
i install sendbird call from npm and include it to my ui using SendBirdCall.min.js file
i succeeded in init, and did authentication.
but i always get this in my console. does anyone know, what i missed?
@Medikaloka_Hermina Please can you provide the code you use to authenticate your user?
In this case it looks like you might not be including a user access token or the token is wrong. Please note, that Sendbird Calls doesn’t use User Session tokens, it has to be a Sendbird User with an Access token.
Please do share the code you are using to init and log in to Sendbird Calls.
Looking at your code the first thing that springs to mind is that SendbirdCall.connectWebSocket() is being called before the authentication has completed.
Please can you move SendbirdCall.connectWebSockect() to be inside your authenticate method and see how it goes.
Please can you share you app_id (please direct message me). Looking at your records, it might be that the app you are using has a free trial the ended on the 9th March 2021.
Please log into your Sendbird Dashboard, to check, and please do dm your app_id so I can double check.
@Medikaloka_Hermina
I think the code that handles asynchronous processing is weird.
If you proceed with the following code, you can check that it works normally.