laptop and a wrench

Bug

An authentication error is returned when using search cursors in ArcGIS Notebooks.

Last Published: May 28, 2021 Portal for ArcGIS
Bug ID Number BUG-000140078
SubmittedMay 20, 2021
Last ModifiedJune 20, 2023
Applies toPortal for ArcGIS
Version found10.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusNon-Reproducible

Additional Information

This bug is no longer reproducible in the production environment using the provided code snippet. Run the SignInToPortal command before running the SearchCursor function for it to work. If the SearchCursor function is run before the SignInToPortal, the SearchCursor continues to fail even after the SignInToPortal function is run (restarting the kernel resets the session and fix this issue).

Workaround

  • Share the feature service publicly.
  • Use a different Python IDE, such as ArcGIS Pro, ArcMap, IDLE, or Jupyter Notebooks.

Steps to Reproduce

Bug ID: BUG-000140078

Software:

  • Portal for ArcGIS

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic