500 Http Status - Error performing identify

4228
2
02-21-2013 01:59 PM
KierenHarvey
New Contributor
Hi

I am executing an IdentifyTask and am receiving the following error:

Error {code: 500, message: "Error performing identify", details: Array[0], log: true}

This IdentifyTask has worked previously and I have tried trimming it back (e.g. return geometry false, etc.). It typically returns 30 features from about 16 layers.

Is there logging on the server? How can I get more information about the cause?

Thanks
0 Kudos
2 Replies
RahulMetangale1
Occasional Contributor II
kieren,

Can you post the request that is being sent to the server. Also please ensure that fields on whcih you are performing identify operation from this map document are not turned off.

-Rahul
0 Kudos
KierenHarvey
New Contributor
Hi

Thanks for the response.

It turned out the error was caused by an invalid layer. This was in the logs on the server (which, as a client dev, I don't have access to). I understand that the layer is updated on a nightly basis - something went wrong in that process.

It makes sense that this error doesn't propagate to the client, as it's an internal implementation/detail.

Are there any diagnostic APIs? It would be nice if you could query the server status, e.g. layer health. I'm not sure if this is an isolated incident or if this is something I can handle / be proactive.

Regards
0 Kudos