# Error with token scope

**URL:** <https://community.hubspot.com/t/error-with-token-scope/11921>\
**Category:** APIs & Integrations\
**Created:** [December 4, 2016, 9:18pm UTC](https://community.hubspot.com/t/error-with-token-scope/11921 "2016-12-04T21:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 4, 2016, 9:18pm UTC](https://community.hubspot.com/t/error-with-token-scope/11921/1 "2016-12-04T21:18:00Z")

</div>

We’ve been proving an integration Aplication with oAuth 2.0 with reading access to the contact, deals and deal pipelines API’s using tokens with the CONTACT SCOPE  
until then everything was working all right, but now (sunday), we only have access to the contacts API but we are misleading the Deals and deal pipelines’ tokens return, getting the following error message:

`{ "status": "error", "message": "This oauth-token (CNHcrueMKxICAQEYhMumASDitbQBKLenAjIZACNbiDaJWG2OlBHFICkqFM4eGVUSHjF85Q) does not have proper permissions! (cannot access an unscoped endpoint)", "correlationId": "aacd65ba-7d09-4e09-8eb0-d5a39571beb4", "requestId": "1956a64b-0518-4a88-8c85-954f0f3b01d0" }`

---

<div class="post-metadata">

**Author:** ![Dadams](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dadams/32/21752_2.png) [@Dadams](https://community.hubspot.com/u/Dadams)\
**Post date:** [December 5, 2016, 4:03pm UTC](https://community.hubspot.com/t/error-with-token-scope/11921/2 "2016-12-05T16:03:44Z")

</div>

Hi [@alexech1989](https://community.hubspot.com/u/alexech1989)

We just pushed a fix for this a few minutes ago, and you should be able to access the Deals APIs using Oauth2 again, sorry for the inconvenience here.
