Hi all,
We have a 10.9.1 ArcGIS Enterprise system with high availability and IWA. It has two ArcGIS Server machines. The PrintingTools REST API is available to everyone (in synchronous mode), no authentication is necessary.
We have a custom C# Web .NET API, that is calling the REST API. The request that we sent includes the parameter WebMapAsJSON with three layers, all of them accessible to everyone too.
Sometimes, not always, we receive the error message 499: token required, when we try to use the default PrintingTools. The issue is not systematic. Sometimes it is happening, sometimes it is not. It is happening in both ArcGIS Server machines.
We suspect that something is interrupting the service or something is failing internally and that the error message is misleading and it should return an error message more helpful.
Our question is:
How can we prevent the issue from happening? and
Can we investigate if we can improve the error message to something more helpful?
Thanks!