When a developer user has IP Restrictions, ShipHero rejects every Public API request made with that developer user's tokens from an IP address that is not on its list. This usually happens when an integration starts calling from a new server, or when the public IP address of your own network changes.
To add or remove allowed IP addresses, see How to Restrict a Developer User to Specific IP Addresses.
Table of Contents
- IP Restrictions Error Messages for Developer Users
- Developer User Still Blocked by IP Restrictions After Adding Its Address
IP Restrictions Error Messages for Developer Users
ShipHero shows one error when IP Restrictions block an API request, and another when an address cannot be added to a developer user's list.
IP Restrictions Error: "Forbidden by account IP lockdown."
Public API requests fail with "Forbidden by account IP lockdown." when they use a restricted developer user's token from an IP address that is not on that developer user's list. The token is still valid. Only the address is blocked.
- Ask your integration provider for the public IP addresses their servers call ShipHero from right now.
- Go to the My Account > Developer Users page and select Edit on the developer user.
- In the IP Restrictions section, compare the list with the provider's addresses and add any that are missing.
- Select Update Developer. The change takes effect within about a minute.
IP Restrictions Error: "This is a private or reserved address. Enter your network's public IP address."
The "This is a private or reserved address. Enter your network's public IP address." error shows under the field when you try to add an address that only works inside a local network, such as "192.168.1.20" or "10.0.0.5". ShipHero only sees your network's public address, so private addresses cannot be allowed.
Enter the network's public IP address instead. To find it, search "what is my IP" from a device on that network, or ask your internet provider or integration provider.
Developer User Still Blocked by IP Restrictions After Adding Its Address
When a developer user's requests are still rejected after you add an address, check the following.
| Cause | Recommended action |
|---|---|
| The change was saved less than a minute ago | Wait about a minute after selecting Update Developer, then try the request again. |
| The integration calls from more than one address | Ask the provider for the full list of addresses their servers use, including backup servers, and add each one. |
| The range entered does not cover the address | Check that the range, for example "203.0.113.0/24", includes the address the request comes from. If you are unsure, add the single address. |
| A warehouse restriction also applies | When a warehouse the developer user works in is also restricted, the request must come from an address on both lists. Contact ShipHero Support to review the warehouse's allowed IPs. |