# OAuth2 flow error codes

**URL:** <https://community.hubspot.com/t/oauth2-flow-error-codes/52930>\
**Category:** APIs & Integrations\
**Created:** [March 10, 2022, 7:42pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930 "2022-03-10T19:42:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratiksathaye](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@pratiksathaye](https://community.hubspot.com/u/pratiksathaye)\
**Post date:** [March 10, 2022, 7:42pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930/1 "2022-03-10T19:42:42Z")

</div>

Hello  
I have created a connected app and able to get access token using OAuth2 flow.  
I am trying to find all OAuth2 flow related error codes which HubSpot REST API returns in case of errors/issues.  
Can anybody please point me into these error codes page?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 14, 2022, 2:51pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930/2 "2022-03-14T14:51:43Z")

</div>

I do not believe there is a comprehensive list of error codes. [Here is the best resource](https://developers.hubspot.com/docs/api/usage-details) that I know of

---

<div class="post-metadata">

**Author:** ![pratiksathaye](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@pratiksathaye](https://community.hubspot.com/u/pratiksathaye)\
**Post date:** [March 14, 2022, 2:54pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930/3 "2022-03-14T14:54:02Z")

</div>

@dennisedson  
That will be really helpful.  
Can I raise this as an Idea?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 14, 2022, 2:57pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930/4 "2022-03-14T14:57:17Z")

</div>

You sure can!

Add it to [this board.](https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage)

Make sure to link it back here for others to find and upvote!

---

<div class="post-metadata">

**Author:** ![pratiksathaye](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@pratiksathaye](https://community.hubspot.com/u/pratiksathaye)\
**Post date:** [March 14, 2022, 2:59pm UTC](https://community.hubspot.com/t/oauth2-flow-error-codes/52930/5 "2022-03-14T14:59:10Z")

</div>

Thank you very much Dennis.
