https://retellai.com/?utm_source=discord&utm_medium=seo logo
error_user_not_joined, how to fix this
# ❓・ai-evy-support
a
@AI Evy error_user_not_joined, how to fix this
a
Thanks for tagging me @asmith1516. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] Getting error_user_not_joined on web calls](https://discord.com/channels/1186424376300679209/1279113454304628766) [[3] Error_user_not_joined](https://discord.com/channels/1186424376300679209/1392872855372435671) ​
### Answer The
error_user_not_joined
disconnection occurs when the user doesn't join a web call within 30 seconds after the access token is granted [(1) ]() [(2) ]() . How to fix this: 1. *Minimize lag between getting the access token and calling startCall() * - Eliminate any async steps between receiving credentials and calling startCall() [(3) ]() . The startCall() function should be called immediately after credentials are received . 2. Ensure the user actually joins the call - This error happens if the user starts the call and leaves immediately, or if the call isn't started within 30 seconds of the access token being granted [(2) ]() . 3. Check for page refreshes - If the user clicks start call and then refreshes the page right away, this can trigger the error . Common causes: - User leaving the web call immediately after starting it - Not starting the call within 30 seconds of access token generation - Page refresh or navigation away from the call page - Lag between obtaining credentials and establishing the connection [(3) ]() Make sure your implementation calls startCall() synchronously right after receiving the access token, and that users remain on the page during call initialization.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.