# Authorisation code flow: Error 403

**URL:** <https://community.auth0.com/t/authorisation-code-flow-error-403/73029>\
**Category:** Get Help\
**Created:** [November 12, 2021, 10:11am UTC](https://community.auth0.com/t/authorisation-code-flow-error-403/73029 "2021-11-12T10:11:21Z")\
**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:** [November 12, 2021, 6:26pm UTC](https://community.auth0.com/t/authorisation-code-flow-error-403/73029/3 "2021-11-12T18:26:22Z")

</div>

Hi @jack.cattell,

Thanks for reaching out to the Auth0 Community!

I understand that you’ve encountered the _403 invalid grant and Invalid authorization code_ error when requesting the `/oauth/token` endpoint.

This error can happen for a few reasons. The provided authorization code could be invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. This is described in the OAuth 2.0 error code specification [RFC 6749 - The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2).

I have gone ahead and tried to reproduce the error and was able to by using an expired authorization code. See below:

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

Given that, I recommend that you identify whether the authorization code you used satisfies one of the reasons mentioned earlier. And then adjust your requests if needed.

Hoped this helps!

Please let me know if there’s anything else I can do to help.

Thank you.

---

_[View the full topic](https://community.auth0.com/t/authorisation-code-flow-error-403/73029)._
