laptop and a wrench

Bug

Python function causing the "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)" error.

ArcGIS GIS Server
Bug ID Number BUG-000169132
SubmittedJuly 12, 2024
Last ModifiedNovember 19, 2024
Applies toArcGIS GIS Server
Version found11.1
Operating SystemWindows Server
Operating System Version2022
StatusWill Not Be Addressed

Additional Information

The issue is related to the script's orientation and standardization of forward and backward slashes.

Workaround

For Line 23, url = os.path.join(feature_server, “queryDomains”), modify it to url_rough = os.path.join(feature_server, “queryDomains”). For url = url_rough.replace(“\\”,”/”).

Steps to Reproduce

Bug ID: BUG-000169132

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options