# Common Error Codes/Causes to \`/token\` and the API

**URL:** <https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953>\
**Category:** API Q&A\
**Created:** [July 19, 2017, 7:05pm UTC](https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953 "2017-07-19T19:05:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradb](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/bradb/32/13_2.png) [@bradb](https://integration.keap.com/u/bradb)\
**Post date:** [July 19, 2017, 7:05pm UTC](https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953/1 "2017-07-19T19:05:42Z")

</div>

[https://support.mashery.com/docs/read/mashery\_api/20/oauth\_supporting\_methods/OAuth\_Generated\_Errors](https://support.mashery.com/docs/read/mashery_api/20/oauth_supporting_methods/OAuth_Generated_Errors)

The column on the left is for calls to `/token` the column on the right is calls to the API once you have an access token.

Hopefully this can clear up a bunch of confusion. Please note that the same `X-Mashery-Error-Code` header and body can be received for different types of errors.

---

<div class="post-metadata">

**Author:** ![bradb](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/bradb/32/13_2.png) [@bradb](https://integration.keap.com/u/bradb)\
**Post date:** [July 19, 2017, 7:09pm UTC](https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953/4 "2017-07-19T19:09:09Z")

</div>

Pinned globally on July 19, 2017, 7:09pm UTC



---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [August 18, 2017, 4:36pm UTC](https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953/5 "2017-08-18T16:36:40Z")

</div>

Unpinned on August 18, 2017, 4:36pm UTC



---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [August 18, 2017, 5:40pm UTC](https://integration.keap.com/t/common-error-codes-causes-to-token-and-the-api/5953/7 "2017-08-18T17:40:49Z")

</div>

@bradb,

You’ve been holding out lol

Very useful. Thank you!
