laptop and a wrench

Bug

The hosted table cannot be opened by arcpy.da.SearchCursor() class in ArcGIS Notebooks Runtime when the item is not shared with everyone in ArcGIS Online.

Last Published: April 8, 2021 ArcGIS Online
Bug ID Number BUG-000134569
SubmittedOctober 14, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found8.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

This is not a defect. The ArcPy site package must be signed into a portal via arcpy.SignInToPortal parameter to have access to this service. Without this, the request lacks a token. The GIS log in via arcgis.gis.GIS is only valid for the ArcGIS Python API.

Workaround

  1. Run a Python API script with the arcpy.da.SearchCursor() class in IDLE, or a similar Python IDE installed on a local machine.
  2. Share the hosted table item with everyone (Public) in ArcGIS Online.

Steps to Reproduce

Bug ID: BUG-000134569

Software:

  • ArcGIS Online

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