nic_ips_on_create_not_supported
HTTP 422 Addresses are attached after the card is created
What happened
You sent ips while CREATING a network card. The platform builds a card's list of allowed addresses from the addresses already on it, and a card being created has none, so the address would be dropped and the card would be created without it. The API refuses the request instead of creating such a card.
What to do
Create the card without ips, wait for the task to finish, then attach the addresses with a PATCH of the card - that path checks the addresses before it acts. The field stays in the schema: it will start working once the platform's create path validates addresses the way its update path does.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/nic_ips_on_create_not_supported",
"title": "Addresses are attached after the card is created",
"status": 422,
"code": "nic_ips_on_create_not_supported",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.