09-13-2023 03:01 AM
Getting two responses for an query in our bot(Askeva) when use load balancer
02-04-2025 12:05 AM - edited 02-04-2025 12:06 AM
[ERROR]: Forbidden: User has excessive device registrations
POST https://wdm-a.wbx2.com/wdm/api/v1/devices
How to solve this issue
02-04-2025 10:10 PM
Hi @pkalyand,
This is actually an expected error when you touch the limit of maximum allowed registrations or, devices with a single token.
Actually you can run this API URL - https://wdm-a.wbx2.com/wdm/api/v1/devices with /GET request using your Bot token from POSTMAN and check the list of registrations already done with the Webex Bot.
Once you've the list, you can actually free-up some space by making a /DELETE request on the same API URL and using the same BOT token.
You can actually refer to this thread as well - https://community.cisco.com/t5/webex-for-developers/faq-thread/td-p/4558598#:~:text=An%20error%20message%20%22Unable%20to%20register%2C%20user%20as%20excessive%20device%20registrations%22%20is%20shown.%20What%20can%20I%20do%3F
So basically, are you using it for Webex Browser SDK?
If yes, then possibly you're registering the meeting while initiating a call/meeting with a token, but not calling the unregister() function after leaving the meeting. If you take care of that part - you'll be able to avoid such error in future.
Regards!
Sandip
09-13-2023 03:09 AM
I assume you have multiple bot instances running in case you're using the balancer, haven't you?
Is your balancer configured properly to forward the request to a single worker? Or does it forward it to two/all workers? Have you tried adding a personal note to the bot's response so you can identify which bot instance is answering?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide