card_verification_required
HTTP 402 A payment card or account credit is needed before paid resources can be created
What happened
Creating a paid resource is refused because the owner of this project has no means to pay on the account: no verified payment card and no positive credit balance. A server project checks this on operations that start spending, such as creating a server or ordering a public address. Reading, deleting, and any change that lowers your spend are unaffected. An object storage project checks it when reserving storage; while the project has no reserved storage yet, also when creating an access key or a service account - and then even reading the access keys of the project and showing the secret of one are refused, the same as the client area shows such a project without its keys.
What to do
Link a payment card in the Client Area, or add credit to the account, then repeat the same request with the same idempotency key. This refusal is not stored against the key, so the repeat runs the request again; the request body itself does not need to change.
Retrying
Change the state this refers to, then repeat the same request with the same idempotency key.
How it arrives
{
"type": "https://docs.fiberax.com/errors/card_verification_required",
"title": "A payment card or account credit is needed before paid resources can be created",
"status": 402,
"code": "card_verification_required",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.