PATCH request returning "API-1007 : You are not authorized to process request"
book
Article ID: 401463
calendar_today
Updated On:
Products
Clarity PPM On PremiseClarity PPM SaaS
Issue/Introduction
A PATCH REST API request is made against a specific Project
It returns status code of 401
The error message is as follows: API-1007 : You are not authorized to process request
Resolution
Determine the attributes being updated via the PATCH request
Determine if one or more of these attributes is Secured in the 'Attributes' page of the Modern UX > 'Administration' module
If an attribute is secured, then check the groups that have access to edit
Note that if the PATCH request is made via a Gel Script, then the account that is used to make this request, from within the script, which is distinct from the person who triggered the Process that contains the script, should be part of at least one group, that has access to edit.