Invalid token for accessing management api token

Unable to create organization, fetched client credentials and passed bearer token as part of request

POST URL: https://domain/api/v2/organizations
{
“name”: “organization-1”,
“display_name”: “Acme Users”
}

Error:
{
“statusCode”: 401,
“error”: “Unauthorized”,
“message”: “Invalid token”,
“attributes”: {
“error”: “Invalid token”
}
}

Hi @selvi ,

Thank you for posting this topic on Auth0 Community!

I tested this endpoint with Auth0 Management API and Postman, and created an organization successfully.

Do you want to try creating an organization on the Auth0 Dashboard and Auth0 Management API and see if the same error repeats?

Also, if you see the same error with other Management API endpoints, I suggest you double check the token and try it again.