ManagementAPI Error: "The account is not allowed to perform this operation, please contact our support team."

Overview

This article explains how to resolve the following error, which occurs when making Management API calls that include the token_quota parameter:

ManagementAPI Error: ‘The account is not allowed to perform this operation, please contact our support team.’

This error typically occurs because the token_quota parameter is associated with an Early Access feature. This means that it’s a new capability that is not yet generally available to all accounts and requires specific enablement.

Applies To

  • Organizations

Cause

The root cause of this error is that the token_quota parameter is part of an Early Access program within Auth0. To utilize features in an Early Access program, the tenant need to be specifically enrolled or granted access to that feature. If the tenant has not enabled for this early access, any API call attempting to use token_quota will result in the “account not allowed” error.

For more detailed information about this Early Access feature, refer to the Fine-Grained M2M Token Quotas Early Access documentation.

Solution

There are two ways to resolve this error, depending on the desired outcome.

Option 1: Immediate Workaround

Remove the token_quota parameter from Management API calls.

Option 2: Enable the Feature

If the intention is to use the fine-grained Machine-to-Machine (M2M) token quotas feature, the tenant administrator must contact Auth0 Support to request access.

If a user intended to use a feature related to token_quota (e.g., fine-grained Machine-to-Machine token quotas) and should have access to this Early Access feature, follow these steps:

  1. Remove token_quota: Users should temporarily modify the API calls to exclude the token_quota parameter. This will allow other API operations to proceed without encountering this specific error.
  2. Contact Auth0 Support: Contact the Auth0 Support Team. Explain the error that is generated “ManagementAPI Error: ‘The account is not allowed to perform this operation’” when using the token_quota parameter and that they are interested in enabling the “Fine-grained M2M Token Quotas Early Access” feature on the account.

The Support Team will verify the account’s eligibility and guide the user through the process of getting access if appropriate.