Error: “The provided API key has an IP address restriction. The originating IP address of the call (x.x.x.x) violates this restriction.” Why am I getting this and how do I fix it. There is nothing wrong with my IP.
Hi @J_Morrissette,
This error occurs because the API key is restricted to specific IP addresses and your request comes from an address not on that whitelist.
Sometimes this happens if your IPv4 is allowed but your network uses IPv6, or your server’s outgoing IP doesn’t match your browser’s public IP due to rotated or dynamic addresses. If using strict IP restriction is challenging, switching to an HTTP Referrer restriction may be helpful. Even if your IP looks correct, double-check for possible dual-stack networking and regional issues.