Common Account API Error Messages
Quick answer
Error responses have a detail field: a text, or for invalid fields a list where each entry names the field ( loc ) and the problem ( msg ). Read it first: it usually names the field or check that failed.
| Status | Meaning | Fix |
|---|---|---|
| 400 | The campaign can't be created or started yet, for example Insufficient expert balance. Required: … for a campaign with an end, or A valid GA4 Measurement ID is required for at least one target URL before starting | Add credits to the wallet detail names (gsc and local mean the SEO wallet), or fix what it names (for example the GA4 Measurement ID), then try again. |
| 401 | Key missing, invalid, revoked or expired (This API key expired on …) | Check the X-API-KEY header. Keys are revoked when you revoke them, change, reset or first set your password, sign out everywhere, or when our team switches off API access. A key with an end date stops on the day shown under Your keys. Create a new key under API & MCP. |
| 403 | Not permitted: the key is read only, API access is switched off for the account, the server's IP address is not approved, the account's e-mail address is not verified yet, or the account is suspended (Account access is suspended. Contact support.) | Use a full-access key for changes. Verify your e-mail address in the dashboard. For IP addresses, switched-off access or a suspended account, contact support. |
| 404 | Campaign not found in your account | Check the campaign ID. Keys only see campaigns of their own account. |
| 409 | Conflict: the campaign changed since you read it (settings_version), it is in a state that doesn't allow this, the same Idempotency-Key is still being processed or was used for a different request, or the campaign has finished its delivery window | For settings, read the campaign again and review your change. For a pending key, wait for Retry-After and resend the same request. For a different campaign, use a new key. |
| 410 | The campaign created with this Idempotency-Key has been deleted | Use a new Idempotency-Key to create the campaign again. |
| 413 | Request body larger than 1 MB | Send smaller requests. |
| 422 | Invalid value, for example an unknown setting, countries not adding up to 100, a private URL, or fewer than 100 visits in total for a campaign with an end | Correct the field detail names. |
| 429 | Too many requests | Wait for the seconds in the Retry-After header, then retry. |
| 503 | Temporarily unavailable | Wait for Retry-After, then retry the same request. |
Errors in AI Assistants#
AI assistants show the same reasons as tool errors, for example "API scope or server IP not permitted". See Fix problems with AI assistants and the API.
When to Contact Support#
Open a support ticket if an error repeats after you fixed what detail names, and include the time (UTC), the route and the status code. Never include your API key.
Was this article helpful?
Still need help?
Open a ticket from your dashboard. Include your project ID and a screenshot for the fastest help.