[Description] is a string that describes the cause of the error.
Forbidden. You don't have permissions to access this resource.
You typically see Forbidden error messages when making API calls. One common cause is when an organization administrator, or other type of user, makes a call to an Edge management API that requires system administrator credentials.
For example, to use the Edge management API to create a user on Edge in the Cloud, you make a POST request to https://api.enterprise.apigee.com/v1/users. However, if you pass credentials for any user other than the sys admin, the call returns HTTP 403 Forbidden error, as shown below:
> POST /v1/users HTTP/1.1 > Host: api.enterprise.apigee.com > User-Agent: curl/7.54.0 > Accept: */* > Content-Type:application/xml > Content-Length: 162 > * upload completely sent off: 162 out of 162 bytes < HTTP/1.1 403 Forbidden
Every user in an Edge organization is assigned to a role, where roles are essentially CRUD-based permission sets. CRUD means "create, read, update, delete". For example, a user may be given a role that permits them to read, or "get", details about an entity, but not permission to "update" or "delete" it.
The Forbidden error typically means that the role assigned to the user does not have permissions to perform the requested operation.
See Assigning roles for more.
Although you may need expert help from Apigee to resolve this error, you can try the following general troubleshooting steps before contacting support or posting to the Apigee Community.
For new users to Apigee who are creating their first organization, it can take Apigee several hours to complete the creation process. If you see Forbidden errors in a new organization, wait a few hours and try again.
In the Edge UI, select Admin > Organization History to see if there were any recent changes to permissions. Look for permissions that were recently created or removed:
Several Edge management APIs require you to pass sys admin credentials, such as the following APIs:
If you are a Cloud customer, Apigee acts as the sys admin. Therefore, if you need to perform an action that requires sys admin permissions, you must contact Apigee Support.
If you run into the Forbidden error when making an Edge management API call, check the API reference getting started to determine the requirements for calling the API.
Edge lets you create custom roles to control user access to protected resources. For example, you can create roles to control access to APIs, products, and reports. See Assigning roles for more.
However, only a sys admin can create roles that specify permissions for the following resources:
If you attempt to create a role that assigns permissions to these resources, you will get a Forbidden error.
Forbidden errors can occur when there is an outage in Edge for the Cloud. Use the following URL to check the current Edge status to see if there is an outage:
Although you may need to contact Apigee support to resolve this error, you might first try the steps described above in General troubleshooting steps. If you need Apigee help, please see What to include if you contact Tech Support or the Community.
In a Private Cloud installation, you define a sys admin. If you need to perform an operation that requires the sys admin credentials, such as creating an organization, then you must work with the Edge sys admin.
Although you may need to post your issue to the Apigee Community to resolve this error, you might first try the steps described above in General troubleshooting steps.