# Getting Invalid JWT Using getAccessToken method

**URL:** <https://community.auth0.com/t/getting-invalid-jwt-using-getaccesstoken-method/75124>\
**Category:** Get Help\
**Created:** [December 17, 2021, 5:44pm UTC](https://community.auth0.com/t/getting-invalid-jwt-using-getaccesstoken-method/75124 "2021-12-17T17:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 17, 2021, 7:47pm UTC](https://community.auth0.com/t/getting-invalid-jwt-using-getaccesstoken-method/75124/3 "2021-12-17T19:47:17Z")

</div>

Hi @louisvillerbc,

Thanks for reaching out to the Auth0 Community!

I understand you have had issues accessing your API, specifically with an invalid JWT token.

Generally, this happens when the `audience` parameter is not passed as part of the `/authorize` request.

In this case, please take a look at [this related Community topic](https://community.auth0.com/t/auth0-nextjs-auth0-tokens-and-external-api-help/71072/2) which documents the solution.

Please let me know if you have any further questions.

Thank you.

---

_[View the full topic](https://community.auth0.com/t/getting-invalid-jwt-using-getaccesstoken-method/75124)._
