Select to view content in your preferred language

500 Error User does not have the privilege to perform this operation

260
3
07-18-2025 01:25 PM
Labels (1)
AarónSamuelCrisantoRuiz
New Contributor

We have created a client ID and client secret, which we used to successfully generate an access token. This token allows us to connect to ArcGIS and view the tables of a feature service. However, we are unable to perform updates. The error we receive is:

{'error': {'code': 500, 'message': 'User does not have the privilege to perform this operation.', 'details': []}}

The token is generated within the same folder as the feature services. Editing permissions (update and delete) are enabled on the service, and it is shared with the entire organization.

The service capabilities include:
'capabilities': 'Query,Create,Update,Delete,Editing,Sync,Extract,Uploads'

Do I need to configure anything else in the token or app settings to allow updates?

0 Kudos
3 Replies
ChristopherCounsell
MVP Frequent Contributor

What authentication method? You may need to use oath and ensure the app has privileges.

The error message suggests the user doesn't have privileges. Can you confirm the user account licence/role has privileges assigned to edit features?

0 Kudos
TimWestern
MVP

I would echo this.  Most of the time if a user can't do something through EXB its because of what role permissions their account has been configured with

0 Kudos
VikramPonnuswamy
Esri Contributor

What is your use case and what service are you trying to use?

0 Kudos