API errors

Every error response of the API has the same shape (RFC 9457). Its type is a fixed link that identifies the kind of error and leads to its explanation on this page.

Example
{
    "type": "https://ph24.io/problems/validation-failed",
    "title": "The request is invalid.",
    "status": 422,
    "detail": "1 field is invalid.",
    "instance": "/api/v1/vps",
    "request_id": "req_01JB7Q4M9XK2D8QF3ZP6ABCDEF",
    "errors": [
        {
            "field": "hostname",
            "code": "regex",
            "message": "The hostname format is invalid."
        }
    ]
}

422 The request is invalid.

https://ph24.io/problems/validation-failed

One or more fields are missing or have an invalid value. The errors list names each field with a machine-readable code (e.g. required , max ) and a message. Fix the listed fields and send the request again.

400 The request could not be read.

https://ph24.io/problems/bad-request

The body is not valid JSON or a parameter has the wrong form (e.g. a tampered pagination cursor). Check the request format against this documentation.

401 Not logged in.

https://ph24.io/problems/unauthenticated

The request has no valid session or API token, or the token expired or was revoked. Log in again or create a new API token in the customer area.

401 The login details are not correct.

https://ph24.io/problems/invalid-credentials

The e-mail address, password or two-factor code is wrong. For security reasons the response doesn't say which one and never reveals whether an account exists. After repeated failures the account gets a warning e-mail.

403 The e-mail address is not confirmed yet.

https://ph24.io/problems/email-not-verified

An account works only after its e-mail address is confirmed. Click the link in the confirmation e-mail, or request a new one in the customer area.

403 Please confirm it's you.

https://ph24.io/problems/sudo-required

This is a sensitive action (e.g. changing the password, e-mail or two-factor settings). Confirm your identity again with the password, a two-factor code or a passkey; the confirmation is valid for 10 minutes.

403 This is only possible in the customer area, not with an API token.

https://ph24.io/problems/session-required

API tokens work only inside their project (e.g. servers, domains). The account, logins, organizations, members and tokens can only be managed in the customer area while logged in.

403 This organization requires two-factor authentication.

https://ph24.io/problems/two-factor-required

The owners of this organization require every member to use two-factor authentication (authenticator app or passkey). Set it up in the security settings, then try again. This also applies to API tokens for this organization. Only a member who uses two-factor authentication can enable the rule.

403 This API token may not be used from this IP address.

https://ph24.io/problems/token-ip-not-allowed

The token has an IP allowlist and the request came from an address that is not on it. Use the token from an allowed address, or change the allowlist by creating a new token.

403 This invitation is for a different e-mail address.

https://ph24.io/problems/invitation-email-mismatch

Invitations can only be accepted by the account with exactly the invited e-mail address, so a forwarded link is of no use to anyone else. Log in with the invited address, or ask the organization to invite the address you use.

403 Not possible while ph24 support is logged in as this customer.

https://ph24.io/problems/impersonation-blocked

ph24 support opened this session to help the customer ("log in as customer"). Security-relevant changes (password, e-mail, two-factor authentication, passkeys, sessions, API tokens, deleting organizations) are only possible for the customer themselves.

403 This account is locked.

https://ph24.io/problems/account-locked

ph24 locked this account. Contact support to find out why and to get it unlocked.

403 Missing permission for this action.

https://ph24.io/problems/forbidden

The login is valid, but the role or the API token lacks the required permission (ability) for this action. Ask an organization owner to change the role, or create a token with the needed ability.

403 This is not available for this organization at the moment.

https://ph24.io/problems/organization-restricted

New orders or top-ups are not available for this organization at the moment. Running services and renewals are not affected. Please contact support.

404 Not found.

https://ph24.io/problems/not-found

The resource does not exist, or it belongs to another organization or project (the response never reveals which). Check the ID and the project in use.

405 This method is not allowed here.

https://ph24.io/problems/method-not-allowed

The endpoint exists but not with this HTTP method (e.g. DELETE on a read-only endpoint).

409 The request conflicts with the current state.

https://ph24.io/problems/conflict

The action does not fit the resource's current state, e.g. another action is still running on it. Wait for it to finish and try again.

409 Another action is running on this server.

https://ph24.io/problems/operation-in-progress

A server runs one action at a time (setting up, power, reinstall, …). Wait until the running one is done (see the server's operation ), then try again. Nothing was started.

409 This service is suspended.

https://ph24.io/problems/service-suspended

A suspended service is kept, but it doesn't run and can't be used or changed (a server is powered off): it can still be viewed. It is suspended when credit ran out or an invoice wasn't paid, or by ph24 support. Top up credit or pay the invoice and it runs again by itself; for other reasons the detail says what to do. Nothing was changed.

409 This service is locked.

https://ph24.io/problems/service-locked

ph24 support locked this service, e.g. while an abuse report or a legal case is handled. It keeps running (a server's network is disconnected), but it can't be changed or ended until it is unlocked. The detail holds the administrator's explanation; reply to the ProHosting24 e-mail about it or contact support. Nothing was changed.

409 ph24 support suspended this service.

https://ph24.io/problems/service-suspended-by-staff

ph24 support suspended this service, so its billing can't be changed: no renewal, no switch of how it is billed and no plan change until support resumes it. Services suspended because the credit ran out or because a contract from the previous system expired stay open for these changes. Reply to the ProHosting24 e-mail about it or contact support. Nothing was changed.

409 This person is already a member.

https://ph24.io/problems/already-member

The e-mail address already belongs to a member of this organization. Change the member's role instead of inviting them again.

409 An organization needs at least one owner.

https://ph24.io/problems/last-owner

Every organization must keep at least one owner. Make another member owner first, then leave or change your own role.

409 This can only be deleted when it is empty.

https://ph24.io/problems/not-empty

Organizations and projects can only be deleted when nothing is left in them. The detail lists what still has to be removed (e.g. members, invitations, servers, domains). The last project of an organization can only be renamed.

409 The price changed.

https://ph24.io/problems/price-changed

A price of the cloud resource changed after it was shown (a new catalog price or a price agreed for the organization or project). Nothing was created. price holds the new price table; show it and send the request again with its price_token .

409 A limit was reached.

https://ph24.io/problems/limit-reached

Limits protect against mistakes and abuse, e.g. the number of organizations, projects, API tokens or invitations. The detail names the limit. Remove something you no longer need, or ask support to raise the limit.

422 This can't be ordered right now.

https://ph24.io/problems/not-orderable

The plan is sold out or not available (any more), an addon is not offered with it or its amount is outside the allowed range, or the product can't be ordered right now. The detail says which. Nothing was ordered or charged.

409 This change is not possible.

https://ph24.io/problems/change-not-allowed

The service can't be changed this way: plans can only change within their plan group (or from a promotion to the regular offer of the same product), every addon must be offered by the new plan within its limits, and the product must allow it (e.g. a disk can't shrink). The detail says why. Nothing was changed.

422 This contract from the previous system takes no extras until it changes to a current plan.

https://ph24.io/problems/legacy-plan-change-first

The service still runs on its contract from the previous ProHosting24 customer panel, at its old price per 30 days, which already includes its extras. Extras (more IPv4 addresses, backups, uplink, …) need a current plan: change the plan first ( PUT …/plan ), then add them. Nothing was changed.

409 This change costs a fee.

https://ph24.io/problems/fee-not-confirmed

The registry charges for this change (e.g. a domain's owner change). Send the request again with fee_cents set to the amount in fee_cents of this answer (net, cents) to confirm it: it is charged from the credit before the change is made, and given back if the registry refuses. Nothing was changed or charged.

422 Not enough credit.

https://ph24.io/problems/insufficient-credit

The available credit doesn't cover this: an hourly service needs credit for 24 hours of running, a service billed monthly in advance its first month, a price increase the same for the difference (all incl. VAT). needed and available give the amounts ( {amount, currency} , cents). Add credit, then try again. Nothing was ordered or changed.

422 The billing profile is incomplete.

https://ph24.io/problems/billing-profile-incomplete

Before the first order an organization needs a billing profile with at least its country and name: the country decides which VAT applies. Payments (top-ups, one-step checkouts, gift voucher purchases) of more than 250 € within 30 days, open payments included, also need the address: street, postal code and city. Enter them under Billing → Billing profile ( PUT /orgs/{org}/billing/profile ), then try again. Nothing was ordered or charged.

422 No identity verification attempt left.

https://ph24.io/problems/verification-limit-reached

Each person can start one identity verification. Within it, retries are possible as often as the verification allows. When it ended without a result, or the verification was withdrawn, contact support: they can allow another attempt. Nothing was started.

422 This SSH key was added already.

https://ph24.io/problems/ssh-key-exists

An SSH key with the same fingerprint was added before (the comment and name don't matter). Each key is stored once per account; use the existing one. Nothing was added.

422 Credit limit reached.

https://ph24.io/problems/credit-limit-reached

The organization pays by invoice, and this order would go beyond its credit limit: open invoices plus costs not invoiced yet, minus the credit, plus what this needs (an hourly service 24 hours of running, a service billed monthly in advance its first month, a prepayment its total, all incl. VAT). limit , used and needed give the amounts ( {amount, currency} , cents). Pay open invoices, top up credit or ask support for a higher limit. Nothing was ordered or changed.

422 Usage limit reached.

https://ph24.io/problems/quota-exceeded

This order or change would go beyond a usage limit (servers, vCPU, memory, disk or IPv4 addresses) of the project, the organization or the account that owns it. scope ( project , organization , account ), resource , limit , used and needed say which and by how much. The limits are listed under the organization's usage limits; request more there. Nothing was ordered or changed.

422 Payment by invoice not possible.

https://ph24.io/problems/postpaid-not-possible

Payment by invoice needs a verified organization, a valid VAT ID for companies, a payment history (the first invoice paid at least three months ago, no chargeback) and a saved card or PayPal account. GET /orgs/{org}/billing/mode lists what is missing. Only one request can be open at a time, and organizations that already pay by invoice can't ask again. Nothing was requested.

422 This payment method can't be used.

https://ph24.io/problems/payment-method-unusable

The saved payment method is not active any more, or the provider refused it (e.g. ProHosting24 was disconnected in the PayPal account, or PayPal declined this payment). Nothing was charged. The detail says which; pay through the provider's page instead (and save the method again there if wanted).

409 Payment status unclear.

https://ph24.io/problems/payment-status-unclear

A saved payment method was charged, but the provider's answer didn't arrive, so it is not known yet whether the money was taken. The payment is being checked with the provider (the payment keeps its id ; GET /orgs/{org}/billing/payments/{payment} shows the result once known) and nothing is charged twice. Don't start a new payment for the same purpose; repeating this request with the same Idempotency-Key is safe.

422 The prepayment can only end at the end of its period.

https://ph24.io/problems/prepayment-not-refundable

Ending a prepaid service early gives back the prepaid amount minus the time used at the regular monthly price. Late in the period that would be below zero, so ending now is not possible; end it at the end of the prepaid period instead ( when: period_end ). GET …/end-quote shows the amount beforehand. Nothing was changed.

422 This code is invalid or was already used.

https://ph24.io/problems/code-invalid

The code doesn't exist, was used up, is outside its validity or doesn't apply to this account; the response doesn't say which. Check the input (case, spaces and dashes don't matter). Repeated failures lock the field for up to an hour ( rate-limited ). Nothing was booked.

422 Too many wrong tries for this code.

https://ph24.io/problems/code-locked

The confirmation code was entered wrongly five times, so it no longer works. Ask for a new e-mail: it brings a new code (and a link that works too).

422 The gift voucher limit for new organizations is reached.

https://ph24.io/problems/voucher-limit-reached

Until an organization's first payment is 30 days old, its gift vouchers may total 50 €, counting open and redeemed ones. An organization with no payment yet counts as new. limit and used give the amounts ( {amount, currency} , cents). Nothing was bought.

409 One data export per day.

https://ph24.io/problems/export-limit

A user can start one data export per 24 hours, counted from the last export that did not fail. retry_at gives the time the next one is possible (ISO 8601, UTC). Nothing was started.

403 This account is being deleted.

https://ph24.io/problems/account-pending-deletion

The account's deletion was requested. Until that date, logging in, viewing and cancelling the deletion and exporting the data still work; nothing else does, and API tokens are revoked. Cancel the deletion ( DELETE /me/deletion ) to use the account again. Once the deletion has started, even login is refused. Nothing was changed.

403 This account is being moved.

https://ph24.io/problems/account-moving

The account belongs to ProHosting24's previous customer panel and could not be moved to this one automatically. Logging in is not possible until support has moved it; support gets in touch by e-mail. Nothing was changed.

422 The account can't be deleted yet.

https://ph24.io/problems/deletion-blocked

Everything has to be cleared first: GET /me/deletion lists what is left, with links. Credit that can be refunded stays blocking until it is spent or refunded. Credit that can't be refunded can be given up: send accept_credit_loss with exactly the amount the page shows as credit_loss_cents . If the amount changed meanwhile, the request is refused and the page shows the new one. Nothing was requested.

413 The request body is too large.

https://ph24.io/problems/payload-too-large

API request bodies are limited to 1 MB. Large files use dedicated upload endpoints.

422 An Idempotency-Key header is required.

https://ph24.io/problems/idempotency-key-required

This endpoint can cost money or create resources, so it needs an Idempotency-Key header (a UUID/ULID generated per action). If the request is sent twice, it is executed only once.

422 This Idempotency-Key was already used for a different request.

https://ph24.io/problems/idempotency-conflict

An Idempotency-Key was reused with a different request body or endpoint. Use a new key for every distinct action.

409 A request with this Idempotency-Key is still being processed.

https://ph24.io/problems/idempotency-in-progress

The first request with this Idempotency-Key is still running. Wait a moment and retry with the same key: the response is the original result.

429 Too many requests.

https://ph24.io/problems/rate-limited

Too many requests were sent in a short time. Wait for the number of seconds in the Retry-After header. The RateLimit-Policy header shows the limit of this endpoint.

409 This is still in use.

https://ph24.io/problems/in-use

The cloud network object is still used: a network or subnet by server ports or a router interface, a router by attached subnets, a router's gateway or interface by floating IPs, an interface by static routes. blockers lists them ( type , id ). Remove or detach those first. A firewall can only be deleted while no server has it and no other firewall's rule names it, a certificate while no load balancer listener serves it; detail names what uses it. A server firewall IP list can only be deleted while no firewall rule uses it; firewalls lists those. Nothing was deleted.

409 The public network can't be changed.

https://ph24.io/problems/external-network-read-only

The public network of a cloud location belongs to ProHosting24: servers attach to it directly, routers use it as gateway and floating IPs come from it, but nothing on it can be created, renamed or deleted, and no router interface can be added to it. Nothing was changed.

409 No address is available.

https://ph24.io/problems/no-address-available

The location has no free public address (or IPv6 network) left right now. Nothing was created or charged. Try again later or contact support.

422 The next hop is not in an attached subnet.

https://ph24.io/problems/next-hop-not-connected

A static route's next hop must be an address inside a subnet attached to the router. Attach the subnet first or pick another next hop. Nothing was changed.

422 The next hop is an address of the router itself.

https://ph24.io/problems/next-hop-in-use

A static route's next hop can't be one of the router's own addresses (its interfaces). Pick the address of the server or appliance behind it. Nothing was changed.

409 The public network can't be reached from this subnet.

https://ph24.io/problems/external-network-unreachable

A floating IP reaches a server only through a router with the public network as gateway that has an interface on the server's subnet. Create such a router (or set its gateway) and attach the subnet, then attach the floating IP. Nothing was changed.

409 The address isn't on one of the project's resources right now.

https://ph24.io/problems/address-not-held

Reverse DNS can be set only for a public IPv4 that is on one of the project's resources at the moment of the change: a server or port on the public network, a floating IP, a router gateway or a load balancer. OpenStack is asked right then; an address that moved to another project or was released can't be changed. Nothing was changed.

409 This already has one.

https://ph24.io/problems/already-assigned

A server port gets at most one routed IPv6 /64. Remove the one it has first, or use addresses from it. Nothing was assigned.

503 An external service is temporarily unavailable.

https://ph24.io/problems/provider-unavailable

A system ph24 depends on (e.g. a registrar or payment provider) is not responding. Nothing was charged or changed. Try again in a few minutes; the error is reported automatically.

422 The QEMU guest agent in the server does not allow this command.

https://ph24.io/problems/guest-agent-command-disabled

The QEMU guest agent (qemu-ga) inside the server refused the command because its configuration blocks it, e.g. guest-exec for "Run command", guest-set-user-password for a root password reset or guest-shutdown for a shutdown. Some distributions block guest-exec by default. It comes as the reason of a VPS operation and the error of a command run; nothing was run or changed in the server. To allow it, remove the command from the block list ( block-rpcs= in /etc/qemu/qemu-ga.conf , or --block-rpcs / BLACKLIST_RPC in /etc/sysconfig/qemu-ga or the service's options) and restart the service: systemctl restart qemu-guest-agent . Then try again.

422 No QEMU guest agent answers in the server.

https://ph24.io/problems/guest-agent-unavailable

Actions inside the server (commands, root password reset, guest info) go through the QEMU guest agent, and none answered: it is not installed, not running, or the server was started without the guest agent device. It comes as the reason of a VPS operation and the error of a command run; nothing was changed. Install and start it in the server ( apt install qemu-guest-agent or dnf install qemu-guest-agent , then systemctl enable --now qemu-guest-agent ; on Windows the VirtIO guest tools) and try again.

422 The QEMU guest agent in the server did not answer in time.

https://ph24.io/problems/guest-agent-timeout

The QEMU guest agent took the request but did not answer in time: it hangs or the server is overloaded. It comes as the reason of a VPS operation and the error of a command run; a command may have started anyway. Restart the agent in the server ( systemctl restart qemu-guest-agent ) and try again.

503 The service is temporarily unavailable.

https://ph24.io/problems/service-unavailable

A required part of the system is temporarily unavailable. Try again shortly.

422 The partner terms need to be accepted first.

https://ph24.io/problems/affiliate-terms-required

Before its first link, and again when the text changes, an organization accepts the partner terms: send POST /orgs/{org}/affiliate-terms with the terms_version from GET /orgs/{org}/affiliate-program as version , then create the link. Nothing was created.

409 The data processing agreement has a newer version.

https://ph24.io/problems/dpa-version-outdated

The data processing agreement (AVV) is accepted per organization and version: send POST /orgs/{org}/dpa with the current_version from GET /orgs/{org}/dpa . A new version was published since it was read; read it and send its version. Nothing was accepted.

422 The security check failed.

https://ph24.io/problems/captcha-failed

A form on a public page of ph24 needs a solved challenge: get one from the form's challenge endpoint (for a donation GET /public/donation-links/{slug}/challenge , for a withdrawal GET /public/withdrawals/challenge , for a cancellation GET /public/cancellations/challenge , for an abuse notice GET /public/abuse-notices/challenge ), find a solution and send both (the withdrawal, cancellation and abuse notice forms also want the answer to the challenge's question ). A challenge belongs to one form, works once and runs out after a few minutes. Get a new one and try again. Nothing was sent and no payment was made.

422 Confirm that the service starts at once.

https://ph24.io/problems/immediate-start-required

An organization ordering as a consumer (its billing profile has neither a company name nor a VAT ID) asks for the service to start at once, which shortens the right of withdrawal: send immediate_start: true with the immediate_start_text_version from GET /projects/{project}/immediate-start (the text for a domain differs from the one for other services). Without it, or with a version that is no longer current, nothing was ordered and nothing was charged. Businesses never need it.

409 Accept the new terms first.

https://ph24.io/problems/terms-acceptance-required

The terms have a new version that hasn't been accepted yet. There is no consent by silence: until it is accepted, new orders and other changes that cost money are refused, with an API token too (the token's user counts). GET /me/terms shows the version and what changed; accept it in the panel ( POST /me/terms with that version , panel session only). Ending services, paying invoices and everything else keep working. Nothing was ordered or changed.

409 An identical rule exists already.

https://ph24.io/problems/rule-exists

A firewall rule with the same direction, IP version, protocol, ports (or ICMP type and code) and remote exists in this firewall already; the description doesn't count. Change the existing rule instead. Nothing was changed.

409 A server needs at least one firewall.

https://ph24.io/problems/last-firewall

Every cloud server keeps at least one firewall: without any, its network ports drop all traffic. Add another firewall to the server before removing this one. Nothing was changed.

409 This firewall is managed by a Kubernetes cluster or a load balancer.

https://ph24.io/problems/managed-firewall

Firewalls that a Kubernetes cluster or a load balancer created are kept up to date by them, and the firewalls of a Kubernetes worker server belong to its cluster. They can be viewed but not changed, deleted, assigned or removed here, so a cluster can't break by accident. Nothing was changed.

409 This is managed by a Kubernetes cluster.

https://ph24.io/problems/managed-by-kubernetes

Servers, volumes, routers, floating IPs and load balancers that a Kubernetes cluster created (its worker nodes, the volumes of its persistent volume claims, the load balancers and addresses of its services) are kept by the cluster. Deleting, stopping, rebuilding, resizing, detaching or reconfiguring them here would be undone by the cluster or break it, so it is refused. They can be viewed, and read-only and non-destructive actions (console, reboot, snapshot, backup, reverse DNS) stay available. Change them through Kubernetes (scale the node pool, delete the claim or the service) instead. Nothing was changed.

409 The project's cloud isn't set up yet.

https://ph24.io/problems/cloud-not-set-up

A project uses the cloud once its cloud access is set up: its OpenStack project in one location with the access for the console and the API, the usage limits and the default firewall. The panel's Cloud tab sets it up after the terms are confirmed ( setup_url links to it); through the API send POST /projects/{project}/cloud/setup with the text_version from GET /projects/{project}/cloud/setup (and immediate_start: true for a consumer) and, when several locations are open, the location . Setting it up costs nothing and takes about a minute; GET /projects/{project}/cloud/setup shows the progress ( state : provisioning , then ready ). While it is still being set up this problem names that. Nothing was changed.

422 The certificate can't be used.

https://ph24.io/problems/certificate-invalid

Before anything is stored, an uploaded certificate is checked: certificate, private key and chain must be readable PEM (64 KB each), the key unencrypted and RSA with at least 2048 bit or ECDSA with P-256 or P-384, the key must belong to the certificate, each chain certificate must sign the one before it, and the certificate must be valid now. reason names the problem: certificate-unreadable , key-unreadable , key-encrypted , key-type , key-too-small , key-mismatch , chain-unreadable , chain-broken , expired or too-large . Nothing was stored.

422 This load balancer size isn't offered.

https://ph24.io/problems/flavor-not-offered

Only the load balancer sizes listed at GET /projects/{project}/cloud/load-balancer-flavors can be chosen; a size without a price is never offered. Nothing was created.

500 An internal error occurred.

https://ph24.io/problems/server-error

An unexpected internal error occurred. It has been reported automatically. When contacting support, include the issue_id and request_id from the response.

409 A firewall limit was reached.

https://ph24.io/problems/firewall-limit-reached

Server firewalls have generous limits: per project 200 firewalls and 200 IP lists, per firewall 500 rules, per server 25 firewalls, per IP list 1,000 entries. limit names the one reached ( firewalls_per_project , rules_per_firewall , firewalls_per_server , ip_lists_per_project , entries_per_ip_list ), max its value. Delete what is no longer needed or combine rules (port ranges, IP lists); support can raise a limit. Nothing was changed.