Help

What does a 403 Forbidden (INSUFFICIENT_PERMISSIONS) error mean?

The 101domain API utilizes a least-privilege security model through API Scopes. Even if your API key is active and valid, it will be rejected with a 403 Forbidden error if it hasn't been granted the specific permission required for the endpoint you are trying to reach.

For example, if you attempt to check your account balance using a key that was only configured with domains:read permissions, the system will block the request.

Common Error Response:

JSON
{
  "status": "error",
  "code": "INSUFFICIENT_PERMISSIONS",
  "message": "The provided token does not have the required scope(s).",
  "errors": null
}

How to Fix a 403 Forbidden Error

  1. Log into your my.101domain.com account.

  2. Navigate to My Account > User Settings.

    Client Admin_Dashboard_Dropdown_Red Box.png
  3. From the My Account menu, click on Developer Tools - API & MCP.

    Client Admin_My Account_Red Box.png
  4. In the Developer Tools menu, scroll down the page to check which scopes have been selected for the API Key. If the Scope(s) selected is not sufficient for your needs, you will need to either:

    1. create a new API Key; or

    2. revoke the existing key and create the key again with the appropriate scope. You can use the same name you used for the revoked API Key.

      Client Admin_Developer Tools_Example Key with Scopes_Red Box.png

If you continue to encounter errors, please contact our Support Team by Opening a Support Ticket at my.101domain.com.