# Invalid token for accessing management api token

**URL:** <https://community.auth0.com/t/invalid-token-for-accessing-management-api-token/81984>\
**Category:** Get Help\
**Tags:** organizations, auth0\
**Created:** [April 19, 2022, 1:08pm UTC](https://community.auth0.com/t/invalid-token-for-accessing-management-api-token/81984 "2022-04-19T13:08:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![selvi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/selvi/32/33945_2.png) [@selvi](https://community.auth0.com/u/selvi)\
**Post date:** [April 19, 2022, 1:08pm UTC](https://community.auth0.com/t/invalid-token-for-accessing-management-api-token/81984/1 "2022-04-19T13:08:45Z")

</div>

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

POST URL: [https://domain/api/v2/organizations](https://domain/api/v2/organizations)  
{  
“name”: “organization-1”,  
“display\_name”: “Acme Users”  
}

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

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [April 19, 2022, 6:51pm UTC](https://community.auth0.com/t/invalid-token-for-accessing-management-api-token/81984/3 "2022-04-19T18:51:33Z")

</div>

Hi @selvi ,

Thank you for posting this topic on Auth0 Community!

I tested this endpoint with [Auth0 Management API](https://auth0.com/docs/api/management/v2#!/Organizations/post_organizations) and Postman, and created an organization successfully.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/f/3fb94178f022ea092b56922c5c3f35e81e73de40.png)

Do you want to try creating an organization on the Auth0 Dashboard and [Auth0 Management API](https://auth0.com/docs/api/management/v2#!/Organizations/post_organizations) 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.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [February 1, 2023, 10:58pm UTC](https://community.auth0.com/t/invalid-token-for-accessing-management-api-token/81984/4 "2023-02-01T22:58:58Z")

</div>


