cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
519
Views
0
Helpful
3
Replies

Bot response issue

jaylal
Cisco Employee
Cisco Employee

Getting two responses for an query in our bot(Askeva) when use load balancer

3 Replies 3

pkalyand
Cisco Employee
Cisco Employee

[ERROR]: Forbidden: User has excessive device registrations

POST https://wdm-a.wbx2.com/wdm/api/v1/devices

How to solve this issue 

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

dtibbe
VIP Alumni
VIP Alumni

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?