☝️Small business or a startup? See if you qualify for our special offer.
+

Error event listeners getting fired but error is undefined

Re-Open
Will Aguiraud asked 4 days ago

Hello,

 

We are getting an issue where, when registering event listeners such as dataerror, queryerror etc, even though they get fired properly, the error passed is undefined. Errors are getting displayed properly in the Flexmonster error popup, however.

 

Do you have suggestions on how to debug/proceed on this issue?

2 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 3 days ago

Hello, Will!

Thank you for reaching out to us.

Our team hasn't managed to reproduce the described behavior on our side. Could you please modify the following JsFiddle to make the case reproducible? With this information, we'll be able to advise you further.

Looking forward to hearing from you.

Kind regards,
Solomiia

 

Public
Will Aguiraud 2 hours ago

Hello Solomiia,

 

It seems that we get this error when using the Custom Data Source API and the backend returns a 400 error with a response containing only the error string. What is the expected format/status code when returning an error?

 

Best,

Will

Please login or Register to Submit Answer