laptop and a wrench

Bug

The ArcGIS Enterprise portal returns "Error code 405" when attempting to disable 'read_only' mode via the ArcGIS API for Python, although this action succeeds through the ArcGIS Enterprise Portal Administrator Directory user interface.

Portal for ArcGIS
Bug ID Number BUG-000178321
SubmittedJuly 30, 2025
Last ModifiedSeptember 2, 2025
Applies toPortal for ArcGIS
Version found11.3
Operating SystemWindows Server
Operating System Version2019 64 Bit
Version Fixed2.4.2
StatusFixed

Additional Information

This issue is fixed in the ArcGIS API for Python 2.4.2 release.

Workaround

Manually disable read-only mode using the Portal Administrator Directory:

  1. Log in to the ArcGIS Enterprise Portal Administrator Directory (URL format: https://<portal_machine_fqdn>:7443/arcgis/portaladmin).
  2. Navigate to Mode and Update.
  3. Set 'read_only' to False and submit the change.

Steps to Reproduce

Bug ID: BUG-000178321

Software:

  • Portal for ArcGIS

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