I would like to share a table as a feature service hosted in ArcGIS Online. I am able to publish the table as a feature service but when using the REST API interface with for ArcGIS Server I am unable to successfully return data for a simple 1=1 for my where clause. I am receive an error which states Unable to perform query. Please check your parameters. No return fields were requested.

What could be the cause of this? This data is shared to the public, so a token should not be necessary.


The message is saying you need to specify some output fields so if you are using the browser to test there should be an Out Fields text input. You can either put in a comma separated list of attributes names or use * for all. Via the REST API you set this as the outFields parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.