Select to view content in your preferred language

Improve feature_layer.query() Function Error Messages

97
0
4 weeks ago
Status: Open
Labels (1)
CodyPatterson
Regular Contributor

Hey all,

Recently I fought with an error while using the ArcGIS API for Python, specifically when attempting to query a layer. I attempted to query for date and time, but could not have had a more difficult experience.

When submitting the query, I noticed that it continued to state this error message:

CodyPatterson_0-1719855401338.png

My first thought was that the query was incorrect, but that was not the case, instead it was my out_fields that had an invalid character, but there was no way of knowing initially.

If this could be improved to show which argument caused the error, that would be fantastic and reduce troubleshooting time.

Thank you,

Cody