Skip to main content
View as Markdown

Error Handling

Use the error code and message in the API response to identify the issue, then follow the standard resolution steps below. For details on the response structure and a full index of codes, see Errors.

PERMISSION_DENIED

PERMISSION_DENIED indicates that the service account does not have permission to perform the requested operation.

Resolution

Assign an appropriate role to the service account in the noon Partner Portal, then authenticate again and retry the request. Any role that grants the permissions required by the operation can be used, such as Project Viewer. If you need access to everything in the project, assign Project Owner.

How to update your service account role

  1. Open the noon Partner Portal and select User Access.

  2. Locate the service account that received the error, then select the three-dot menu at the end of its row and select Manage Role.

  3. On the Roles & Permissions page, select Add another role.

  4. Under Platform, select a role that grants the required permissions, then select Update. For full access to the project, select Project Owner.

  5. Authenticate again, repeat the API request, and confirm that it no longer returns PERMISSION_DENIED.

Ask AI about this page
Get an explanation, examples, or a summary of this doc.