Hi.
I am using the Find operation to query one of my layers, and it works in the html form view, returning the expected features. But when I switch to output format Json "&f=json", I get:
{"error":{"code":500,"message":"Object reference not set to an instance of an object.","details":[]}}
Url that returns correct data (in html):
http://<myservername>/ArcGIS/rest/services/<myservicename>/MapServer/find?searchText=Kulla&searchFields=SITE%2CFULLNAME&layers=0
Url that returns the error data (in json):
http://<myservername>/ArcGIS/rest/services/<myservicename>/MapServer/find?searchText=Kulla&searchFields=SITE%2CFULLNAME&layers=0&f=json
Any ideas?
Best regards,
- Niklas

Reply With Quote

Bookmarks