AnsweredAssumed Answered

Request Error Event Multiple Messages

Question asked by pmckinneyccpa on Dec 13, 2017
Latest reply on Dec 13, 2017 by JGravois-esristaff

I've been messing around with the requesterror event.  I have a CodePen where I'm testing stuff.  If you change the URL for either service to the "bad" URL, there are multiple error messages.  

 

Is there a way to use a conditional statement or other method to only display the message once? For example, just using the straight service URL, as opposed to "/query" or "/exportto"? 

 

I know I could add a generic message, but I would like to add the service URL in the message.

Outcomes