IvanDg
June 13, 2023, 5:33am
1
Hello I have the following 2 error use cases and I wanted to know what is the best way to handle this.
Error getting script to genesys.min.js (for some reason the server serving the script is down)
Error on starting web messaging. (for some reason the server is down/message deployment was deleted)
I wanted to handle above cases and show a customized message. But upon checking it is not throwing any error. It is just logging a console.
IvanDg
June 14, 2023, 3:13am
2
Updates on this
I have fixed this by listening to error event when loading the js file
I am not sure if this is a bug on the script side, but when I tried to input a deploymentId that does not exist it shows the following error which I feel should be more related to 'deployment id does not exist' and then throw an exception error.
loadJSON failed with status code: 403
Thanks, we'll revisit your suggestion.
IvanDg
June 15, 2023, 6:05am
4
Hi Angelo,
So that means there is no way we can handle errors using the Genesys global function right now am I right?
Sample use cases:
Deployment ID does not exist
After connecting successfully and starting a conversation, for some reason there is an error calling Messaging Service Commands
Thanks!
system
Closed
July 15, 2023, 6:05am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.