GitHub Integration: “403 Forbidden - IP Address Not Permitted” Error Despite IP Whitelisting

kkalani01
Tera Contributor

Hello Community,

I am working on a GitHub integration in ServiceNow and have successfully established the connection. However, while testing a custom action (Get GitHub Repositories), I am encountering the following error:

Error Message:
Method failed with code 403 - Forbidden username/password combo

Response Body:
{"message": "Although you appear to have the correct authorization credentials, the organization has an IP allowed list enabled, and your IP address is not permitted to access this resource. Status: 403"}

I have informed the client about this, and they confirmed that they have added the IP address of my ServiceNow instance to GitHub’s allowlist. Despite this, the error persists.

Has anyone faced a similar issue or have any insights into how this can be resolved? Could it be related to:
1. Additional network configurations?
2. Incorrect IP being shared or used?
3. A mismatch in the allowlist settings in GitHub?

Any help would be greatly appreciated!

Thank you in advance.

2 REPLIES 2

pvn
Tera Contributor

Hi @kkalani01 Did you get a resolution for this? What all IPs did you added to allowlist?

NicholasSch
Tera Contributor

Hello did you find a solution to this?