Select to view content in your preferred language

Python API: I can run the script but other users cannot (error code: 403 - no permissions to the resource)

331
0
12-27-2023 01:44 AM
TZ
by
Emerging Contributor

I created a .py script and for me it works OK both on my local windows machine and remote windows server.

However, when other users try to run the same script, they get error:

"Exception: you do not have permissions to access this resource or perform this operation"

The error emanates from "arcgis\gis\_impl\_con\_connection.py"

The script itself uses built-in ArcGis Enterprise admin credentials. Its basic functionality is as follows: connect to ArcGIS Portal with built-in admin credentials; get all Items there; check Items' dependencies.

Do i need to modify other users' rights somewhere in ArcGIS Portal admin directory? Something else?

Thank you.

0 Replies