JSON return values being removed by 'something', how to debug

Our licensing system uses JSON woocommerce request to our web site. This has been working for a couple of years. We have hundreds of users.

This month we have had two different bug reports from users on the opposite sides of the globe.

For one, the ‘reset’ boolean from the ‘deactivation’ call is not getting back to Delphi.

For the other, the ‘success’ boolean from the ‘check’ call is not getting back to Delphi.

i.e. both are crashing with EJSONException, exception message : Value ‘xxxxx’ not found.

Has anyone seen this before and/or can name the ‘culprit’?

What tool(s) can be used to work out what the culprit is? (my knowledge in this area is nil)

Thanks.

Not knowing what framework your using I cant be specific Mark, but this debugging solution might help :

This is totally weird - Discourse translating to spanish or something after copy and past.
I wonder if a quoted string might fix it.
Ejecuta JavaScript en la consola  |  Chrome DevTools  |  Chrome for Developers

Still weird - but clicking on the link goes to the correct URL.

I’m using the Delphi JOSE library by Paolo Rossi from GitHub.

I’ve added a debug output of ‘jso.ToString’ to the DLL that uses this library in the hope that I might get some info about what is going on