# Unable to Grant Access Token

**URL:** <https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286>\
**Category:** Webhooks\
**Created:** [October 5, 2020, 10:14pm UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286 "2020-10-05T22:14:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilFranjo](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Post date:** [October 5, 2020, 10:14pm UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286/1 "2020-10-05T22:14:28Z")

</div>

Hello!

We’re following setting up our development environment on Postman. We’ve become stuck on granting a new access token, receiving this error message:

Error: [object Object]

We do have an IP whitelisted server, so we did whitelist the IPs mentioned in this thread:

> [@Firewall configuration and IP's](https://community.shotgridsoftware.com/t/firewall-configuration-and-ips/9418):
>
> Hi We are configuring an internal server for webhooks and want to make sure that the security is as restricted as possible but without loosing any functionality on the webhooks system. Just want to confirm which ip ranges will be used for this service, is only the same as the main Shotgun service ? Any other one we should be aware off ?

but it did not fix our issue.

If anyone has any advice or needs specific details, let us know!

Thank you,

-Phil F

---

<div class="post-metadata">

**Author:** ![PhilFranjo](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Post date:** [October 6, 2020, 2:36pm UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286/2 "2020-10-06T14:36:11Z")

</div>

We’ve also noticed this in the webhooks form on our website. No projects or entities come up in the dropdowns.

![image](https://global.discourse-cdn.com/shotgunsoftware/original/2X/5/573c4f645d261ed940964277b023b52d0db4d4d7.png)

On another PC logged into same account, the bottom of the form says UNAUTHORIZED.

Thank you,

-Phil F

---

<div class="post-metadata">

**Author:** ![Jessica](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jessica/32/6757_2.png) [@Jessica](https://community.shotgridsoftware.com/u/Jessica)\
**Post date:** [October 8, 2020, 12:22am UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286/4 "2020-10-08T00:22:43Z")

</div>

Hey Phil!

That error sounds like your Shotgun site cannot reach the event service. Can you check our documentation [here](https://support.shotgunsoftware.com/hc/en-us/articles/219031718-IP-Allowed-Lists) for IP allowed list for Webhooks? There are three additional IPs that you’ll need to add to your Allowed IP list in your Site Preferences:

- 34.200.155.69
- 34.224.232.103
- 34.202.127.170

Let me know if that does the trick! 🤞

Cheers,  
Jessica

---

<div class="post-metadata">

**Author:** ![PhilFranjo](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Post date:** [October 9, 2020, 2:20pm UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286/5 "2020-10-09T14:20:37Z")

</div>

Hi Jessica,

Adding these IPs to the whitelist did not solve our issue, we still get the same error [we already had these whitelisted]:

![image](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/02d595fbea536809b9c4cc0df31821ba589b7c25.png)

Thank you,

-Phil F

---

<div class="post-metadata">

**Author:** ![Jessica](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jessica/32/6757_2.png) [@Jessica](https://community.shotgridsoftware.com/u/Jessica)\
**Post date:** [October 10, 2020, 12:33am UTC](https://community.shotgridsoftware.com/t/unable-to-grant-access-token/10286/6 "2020-10-10T00:33:40Z")

</div>

Hey Phil,

I’ve been talking to the engineers about what could potentially cause this. It sounds like there was a URL change on your site, which led to capital letters in your URL name. Typically, we catch instances like this automatically, but it looks like there was a loose end in the internal tools which our team use to change site URLs. This is what’s causing the issue with webhooks.

The good news is that the fix is easy - I’ll just need to change your site URL to the same as it is now, but with all lowercase letters instead of capitals. I’ll open a Zendesk ticket with you, so we can discuss the details there, outside of the public forum.

More to come!

Cheers,  
Jessica
