IP_NOT_ALLOWED
Address not allowed. The calling address is not on the key's allowlist.
| Status | 403 |
|---|---|
| Retry? | No |
What it means
The key is valid, but the request came from an address that is not on its allowlist. The detail names the address Medos saw.
What to do
- Compare the address in detail with the key's allowed IPs. A dual-stack server often arrives over IPv6 when you registered IPv4, or the other way round.
- Behind a NAT gateway or load balancer, register the egress address, not the server's own.
- An allowlist is fixed per key: create a new key with the right addresses, move traffic, retire the old one.
The response
Served as application/problem+json. Branch on code; detail describes this occurrence and can change wording at any time.
{
"type": "https://docs.medos.one/errors/ip-not-allowed",
"title": "Address not allowed",
"status": 403,
"detail": "…",
"instance": "/v1/…",
"code": "IP_NOT_ALLOWED",
"requestId": "01JCX6Q4W3J7N8Y2H5K9M1B0VD"
}