ip_not_found
HTTP 404 IP address not found
What happened
The public IP address id is not one this project can use for this operation. Reading or releasing an address answers this when the id was never ordered here, was already released, or belongs to another project; attaching an address to a network card answers it when the id is not among the addresses GET /v1/ips lists for the project. Creating a server with an address id in public_ipv4 answers it with the same body in three cases: the id is not in the project, the address is already attached to a server (including when a parallel request took it first), or the address comes from the pools of another location than the server type; tell them apart by reading GET /v1/ips/{id} and its server_id. While the request that took the address is still creating its server - tens of seconds - that read answers 404 as well, so read again a few seconds later before you conclude the address is gone.
What to do
List the project's addresses with GET /v1/ips and use an id from there. If the address exists but is attached to a server, releasing it answers 409 ip_in_use instead - detach it from the interface or delete the server first.
Retrying
Repeating this request will not help.
How it arrives
{
"type": "https://docs.fiberax.com/errors/ip_not_found",
"title": "IP address not found",
"status": 404,
"code": "ip_not_found",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.