RFC 9457 · application/problem+json
API Error Reference
Every 4xx and 5xx response under /api/* returns application/problem+json with a dereferenceable type URI, HTTP status, human-readable detail, and a stable snake_case code.
Response format
{
"type": "https://pageaudit.online/errors#invalid_session",
"title": "Invalid session",
"status": 401,
"detail": "Sign in or send a valid API key.",
"instance": "/api/me",
"code": "invalid_session",
"error": "invalid_session",
"message": "Sign in or send a valid API key."
}Envelope fields
ProblemDetails- URI identifying the problem type, pointing to the matching #code anchor on this page.
- Short, stable human-readable summary of the problem type.
- HTTP status code (integer, 400–599) matching the response status.
- Specific explanation for this occurrence, safe to show in logs or UI.
- Request pathname where the error occurred (query parameters are stripped).
- Stable snake_case error code for programmatic handling.
- Backward-compatible alias of code (or x402 protocol reason on 402 responses).
- Backward-compatible alias of detail.
Relevant headers: Retry-After (on 429 and 503), Allow (on 405), and PAYMENT-REQUIRED (on 402 x402 calls). Route-specific extensions such as accepts[], allow[], request_id, or ok: false are preserved on the same JSON object.
Error code catalog
Authentication & Access13
401
invalid_sessionInvalid sessionSign in to an account session on this domain or supply a supported API credential.
401
invalid_api_keyInvalid API keyThe API key (
mmk_…) is invalid, revoked, or does not belong to this organization or product.401
invalid_wallet_tokenInvalid wallet credentialThe wallet token (
mmw_…) is invalid or expired. Authenticate the wallet again.401
wallet_proof_requiredWallet proof requiredAuthenticate the paying wallet (
mmw_…) to inspect or recover this payment.403
forbiddenForbiddenYour credential is valid, but it does not grant permission for this resource or action.
403
organization_mfa_requiredSecond factor requiredOrganization owners and admins must authenticate with a second factor (passkey or authenticator).
403
organization_domain_lockedOrganization domain lockedThis action is restricted by the organization's custom domain policy.
403
human_verification_requiredHuman verification requiredComplete the interactive verification or use a paid/authenticated API route.
403
bot_blockedAutomated crawler blockedAutomated crawlers, indexers and liveness probes cannot submit this form.
403
turnstile_failedVerification failedThe verification challenge did not succeed. Request a new challenge and try again.
Validation & Input12
400
invalid_organizationInvalid organizationSupply a valid organization identifier in X-Organization-Id or the route path.
409
conflictConflictThe request conflicts with the current resource state or reuses an Idempotency-Key with a different payload.
413
payload_too_largePayload too largeThe request body exceeds the maximum size allowed for this route.
413
body_too_largePayload too largeThe request payload exceeds the maximum size accepted by this endpoint.
422
unprocessable_entityUnprocessable entityThe request is well-formed, but one or more field values are semantically invalid.
Payment, Credit & Quota6
402
payment_requiredPayment requiredPay per call via x402 (USDC on Base using PAYMENT-REQUIRED / accepts[]) or supply a prepaid credit token in X-Credito.
402
payment_verification_failedPayment verification failedThe submitted x402 payment proof was rejected. Inspect detail and the quoted PAYMENT-REQUIRED terms.
401
credito_simuladoSimulated credit rejectedDevelopment test credit tokens are not accepted in production.
402
saldo_insuficienteInsufficient balanceThe account or prepaid credit balance is too low for this call. Top up credit or pay via x402.
Rate Limits2
429
rate_limitedToo many requestsRequest rate or concurrency limit exceeded. Wait for the duration in the Retry-After header before retrying.
429
rate_limit_exceededRate limit exceededThe free allowance or rate window was exceeded. Wait for the next window, sign in, or pay per call.
Resources & Routing7
404
not_foundNot foundThe API route or requested resource does not exist (or is not accessible to your credential).
404
nao_encontradoNot foundThe API route or requested resource does not exist (Portuguese-language product code equivalent to not_found).
404
organization_not_foundOrganization not foundThe organization does not exist or your account is not a member of it.
404
path_template_nao_expandidoUnexpanded path templateThis path contains literal catalog placeholders (such as
{id}). Replace each placeholder with a concrete value.405
method_not_allowedMethod not allowedThis HTTP method is not accepted on this endpoint. Check the Allow header for supported methods.
408
request_timeoutRequest timeoutThe client did not send the complete request within the server timeout.
Server & Availability6
500
internal_errorInternal server errorAn unexpected error occurred while processing the request. Retrying is safe on idempotent routes.
502
send_failDelivery failedThe upstream delivery service could not complete the request. Retry later.
Product-specific codes28
400
cartao_dadosCartao dadosInvalid card data (
cartao_dados, with the campo).POST /api/credito/asaas/{id}/cartao400
cartao_hospedadoCartao hospedadoCredit amount outside
pacotes and exatos, amount out of range, invalid CPF/CNPJ, name or email, direct card payload (cartao_hospedado), or the gateway refused the payer (pagador_recusado, with the reason in detalhe).POST /api/credito/asaas400
compare_withCompare withBody is not JSON,
url missing/not http, or compare_with is not an audit ID.POST /api/audit400
confirmation_requiredConfirmation requiredMissing
accept_data_removal: true (confirmation_required).POST /api/plans/cancel400
invalid_urlInvalid urlBody is not JSON, or
url is missing or is not a public http(s) address (invalid_url).POST /api/ai-accessPOST /api/site-audit400
missing_inputMissing inputPaid without a valid
url (missing_input, with example), or a redirect to an address that is not public. Not charged.GET /api/x402/audit400
monitor_emailMonitor emailNo changeable field in the body, or
monitor_email is not an email.PATCH /api/tabs/{id}400
pagador_recusadoPagador recusadoCredit amount outside
pacotes and exatos, amount out of range, invalid CPF/CNPJ, name or email, direct card payload (cartao_hospedado), or the gateway refused the payer (pagador_recusado, with the reason in detalhe).POST /api/credito/asaas401
invalid_signatureInvalid signature
invalid_signature: the HMAC does not match the App's secret.POST /api/github/app/webhook401
session_endedSession endedSign in first (
account_required), or the session ended (session_ended).POST /api/plans/cancelPOST /api/plans/{plan}/grace404
unknown_planUnknown planUnknown plan (
unknown_plan).POST /api/plans/{plan}POST /api/plans/{plan}/grace409
billing_offBilling offPlans are not on sale now (
sales_closed) or billing is off (billing_off).POST /api/plans/{plan}409
monitor_limitMonitor limitThe account already watches all the pages it has (
monitor_limit, with limit); a plan (POST /api/plans/:plan) adds more.PATCH /api/tabs/{id}409
sales_closedSales closedPlans are not on sale now (
sales_closed) or billing is off (billing_off).POST /api/plans/{plan}422
cartao_recusadoCartao recusadoCard declined (
cartao_recusado).POST /api/credito/asaas/{id}/cartao429
lab_busyLab busyA limit was reached:
lab_busy (4 running), lab_rate_limited (6 per network per hour) or lab_daily_cap.POST /api/audits/{id}/lab429
lab_daily_capLab daily capA limit was reached:
lab_busy (4 running), lab_rate_limited (6 per network per hour) or lab_daily_cap.POST /api/audits/{id}/lab429
lab_rate_limitedLab rate limitedA limit was reached:
lab_busy (4 running), lab_rate_limited (6 per network per hour) or lab_daily_cap.POST /api/audits/{id}/lab429
target_limit_reachedTarget limit reachedPast 6 new checks per hour on the same network (
rate_limited), or past 3 new checks of the same site in one hour, from any network (target_limit_reached). Wait an hour.POST /api/ai-access502
check_run_refusedCheck run refused
check_run_refused: GitHub did not open the check run.POST /api/github/app/webhook502
target_blockedTarget blockedThe target failed to answer, or a firewall or rate limit answered instead of the page:
code target_blocked or target_rate_limited, with blocked.fix. Nothing was audited.GET /api/x402/auditPOST /api/audit502
target_rate_limitedTarget rate limitedThe target failed to answer, or a firewall or rate limit answered instead of the page:
code target_blocked or target_rate_limited, with blocked.fix. Nothing was audited.GET /api/x402/auditPOST /api/audit503
asaas_ocupadoAsaas ocupadoAutomatic Pix unavailable in this app, the gateway is busy (
asaas_ocupado, wait retry_after_s), or too many charges from people not signed in waiting for payment.POST /api/credito/asaas503
github_app_not_configuredGithub app not configured
github_app_not_configured: this environment has no App credentials.POST /api/github/app/webhook