Menu

Expand
Rate this page:

Error 50213

Product: Programmable Chat

ERROR - 50213

Conflicting user modification

The requested user is already being added or removed from this channel by a concurrent API request. The requested user is already being added or removed from this service instance concurrently with another API request. The last request will be rejected to avoid inconsistent state.

Possible Causes

  • You might be adding a new user to the service instance while the user with the same identity is being removed from another thread.
  • You might be submitting multiple concurrent requests to add a user with the same identity to the service instance.
  • You might be submitting multiple concurrent requests to delete the same user by SID or identity from the service instance.

Possible Solutions

  • Implement an operation retrier and repeat the failed user API requests after an interval of time, using an exponential backoff algorithm.
  • Review your application logic that caused the race condition when adding or removing users. Perhaps the conflicting operations are happening in a loop that could be avoided.
Rate this page:

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more