Agentalog
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

Example responseHTTP 401 · application/problem+json
{
  "type": "https://agentalog.com/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 fieldsProblemDetails
  • typeRFC 9457URI identifying the problem type — resolves to the matching #code anchor on this page.
  • titleRFC 9457Short, stable human-readable summary of the problem type.
  • statusRFC 9457HTTP status code (integer, 400–599) matching the response status.
  • detailRFC 9457Specific explanation for this occurrence, safe to show in logs or UI.
  • instanceRFC 9457Request pathname where the error occurred (query parameters are stripped).
  • codeStableStable snake_case error code for programmatic handling.
  • errorCompatBackward-compatible alias of code (or x402 protocol reason on 402 responses).
  • messageCompatBackward-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.

Authentication & Access13

401unauthorized
UnauthorizedAuthentication is required or the supplied credential was not accepted.
401invalid_session
Invalid sessionSign in to an account session on this domain or supply a supported API credential.
401account_required
Account requiredThis operation requires a signed-in account.
401invalid_api_key
Invalid API keyThe API key (mmk_…) is invalid, revoked, or does not belong to this organization or product.
401invalid_token
Invalid tokenThe bearer or OAuth token is invalid, expired, or revoked.
401invalid_wallet_token
Invalid wallet credentialThe wallet token (mmw_…) is invalid or expired. Authenticate the wallet again.
401wallet_proof_required
Wallet proof requiredAuthenticate the paying wallet (mmw_…) to inspect or recover this payment.
403forbidden
ForbiddenYour credential is valid, but it does not grant permission for this resource or action.
403organization_mfa_required
Second factor requiredOrganization owners and admins must authenticate with a second factor (passkey or authenticator).
403organization_domain_locked
Organization domain lockedThis action is restricted by the organization's custom domain policy.
403human_verification_required
Human verification requiredComplete the interactive verification or use a paid/authenticated API route.
403bot_blocked
Automated crawler blockedAutomated crawlers, indexers and liveness probes cannot submit this form.
403turnstile_failed
Verification failedThe verification challenge did not succeed. Request a new challenge and try again.

Validation & Input12

400bad_request
Bad RequestThe request is malformed or missing required parameters.
400invalid_request
Invalid requestThe request URL, headers, or parameters failed validation.
400bad_json
Invalid JSONThe request body could not be parsed as valid JSON.
400invalid_organization
Invalid organizationSupply a valid organization identifier in X-Organization-Id or the route path.
400name
Invalid nameProvide a valid name within the allowed length.
400email
Invalid emailProvide a valid email address.
400message
Invalid messageProvide a message with the required minimum length.
409conflict
ConflictThe request conflicts with the current resource state or reuses an Idempotency-Key with a different payload.
413payload_too_large
Payload too largeThe request body exceeds the maximum size allowed for this route.
413body_too_large
Payload too largeThe request payload exceeds the maximum size accepted by this endpoint.
413too_large
Payload too largeThe submitted payload exceeds the endpoint size limit.
422unprocessable_entity
Unprocessable entityThe request is well-formed, but one or more field values are semantically invalid.

Payment, Credit & Quota6

402payment_required
Payment requiredPay per call via x402 (USDC on Base using PAYMENT-REQUIRED / accepts[]) or supply a prepaid credit token in X-Credito.
402payment_verification_failed
Payment verification failedThe submitted x402 payment proof was rejected. Inspect detail and the quoted PAYMENT-REQUIRED terms.
401credito_invalido
Invalid credit tokenThe prepaid credit token (cred_…) is unknown or invalid.
401credito_simulado
Simulated credit rejectedDevelopment test credit tokens are not accepted in production.
402saldo_insuficiente
Insufficient balanceThe account or prepaid credit balance is too low for this call. Top up credit or pay via x402.
404not_for_sale
Not for saleThis paid route or SKU is not currently offered on this product.

Rate Limits2

429rate_limited
Too many requestsRequest rate or concurrency limit exceeded. Wait for the duration in the Retry-After header before retrying.
429rate_limit_exceeded
Rate limit exceededThe free allowance or rate window was exceeded. Wait for the next window, sign in, or pay per call.

Resources & Routing7

404not_found
Not foundThe API route or requested resource does not exist (or is not accessible to your credential).
404nao_encontrado
Not foundThe API route or requested resource does not exist (Portuguese-language product code equivalent to not_found).
404organization_not_found
Organization not foundThe organization does not exist or your account is not a member of it.
404path_template_nao_expandido
Unexpanded path templateThis path contains literal catalog placeholders (such as {id}). Replace each placeholder with a concrete value.
405method_not_allowed
Method not allowedThis HTTP method is not accepted on this endpoint. Check the Allow header for supported methods.
408request_timeout
Request timeoutThe client did not send the complete request within the server timeout.
408upload_timeout
Upload timeoutThe request body was not received within the allowed time window.

Server & Availability6

500internal_error
Internal server errorAn unexpected error occurred while processing the request. Retrying is safe on idempotent routes.
502bad_gateway
Bad gatewayAn upstream dependency returned an invalid response. Retry later.
502send_fail
Delivery failedThe upstream delivery service could not complete the request. Retry later.
503service_unavailable
Service unavailableThe service is temporarily unavailable or at capacity. Check Retry-After and try again.
503auth_unavailable
Authentication service unavailableThe shared authentication backend is temporarily unavailable. Retry in a moment.
503mail_cfg
Mail transport not configuredContact mail delivery is not configured on this instance.

Product-specific codes27

400cartao_dados
Cartao dadosInvalid card data (cartao_dados, with the campo).
POST /api/credito/asaas/{id}/cartao
400cartao_hospedado
Cartao hospedadoCredit amount outside pacotes and exatos, amount out of range, invalid CPF/CNPJ, name or e-mail, direct card payload (cartao_hospedado), or the gateway refused the payer (pagador_recusado, with the reason in detalhe).
POST /api/credito/asaas
400confirmation_required
Confirmation requiredMissing accept_data_removal: true (confirmation_required).
POST /api/plans/cancel
400fix_url
Fix urlaction outside the list; reason missing on block or above 300 characters; fix outside approve; fix_url (URL or kind inside the fix); or the refused field of the fix (name, tagline, category, golpe).
POST /api/admin/listings/{id}
400gated_tools
Gated toolsgated_tools is missing or contains invalid tool names.
POST /api/protection/services/{id}/policy
400invalid_query
Invalid queryInvalid JSON, query shorter than 2 chars (invalid_query) or prompt-injection/script attempt (prompt_injection_blocked, emits security alert). Not charged.
GET /api/x402/smart-filterPOST /api/catalog/smart-filter
400missing_input
Missing inputPaid without url (missing_input, with example), or with an invalid or credential-bearing url (url). Not charged.
GET /api/x402/check
400nao_vigiavel
Nao vigiavelInvalid JSON, unavailable skill review, unsupported source or a listing that cannot be watched (nao_vigiavel).
POST /api/me/vigia
400pagador_recusado
Pagador recusadoCredit amount outside pacotes and exatos, amount out of range, invalid CPF/CNPJ, name or e-mail, direct card payload (cartao_hospedado), or the gateway refused the payer (pagador_recusado, with the reason in detalhe).
POST /api/credito/asaas
400prompt_injection_blocked
Prompt injection blockedInvalid JSON, query shorter than 2 chars (invalid_query) or prompt-injection/script attempt (prompt_injection_blocked, emits security alert). Not charged.
GET /api/x402/smart-filterPOST /api/catalog/smart-filter
401key_required
Key requiredThe account API key or session is missing (key_required).
GET /api/skills/{id}/copy
401session_ended
Session endedSign in first (account_required), or the session ended (session_ended).
POST /api/plans/cancelPOST /api/plans/{plan}/grace
402api_somente_pago
API somente pagoDirect HTTP API without payment/credit (api_somente_pago), unauthenticated MCP (requer_autenticacao_mcp), or daily free allowance (1/day) / global cap reached: returns x402 quote (US$ 0.01) and credit top-up packages.
POST /api/catalog/smart-filter
402requer_autenticacao_mcp
Requer autenticacao mcpDirect HTTP API without payment/credit (api_somente_pago), unauthenticated MCP (requer_autenticacao_mcp), or daily free allowance (1/day) / global cap reached: returns x402 quote (US$ 0.01) and credit top-up packages.
POST /api/catalog/smart-filter
403forbidden_origin
Forbidden originCross-site browser request blocked (forbidden_origin) or missing/invalid Cloudflare Turnstile verification (human_verification_required / turnstile_failed, emits security alert).
POST /api/catalog/smart-filter
403service_not_protected
Service not protectedThe skill is not in this account's protection (service_not_protected).
GET /api/skills/{id}/copy
404tools_not_read
Tools not readThe listing does not exist or is not visible (not_found), or its tools were not read yet (tools_not_read).
GET /api/listings/{id}/tools
404unknown_plan
Unknown planUnknown plan (unknown_plan).
POST /api/plans/{plan}POST /api/plans/{plan}/grace
409billing_off
Billing offPlans are not on sale now (sales_closed) or billing is off (billing_off).
POST /api/plans/{plan}
409not_verifiable
Not verifiableOnly skills published on public GitHub can be verified (not_verifiable).
POST /api/skills/{id}/verification
409not_verified
Not verifiedThe listing is not a remote Streamable HTTP MCP server, asks for its own login, is a skill without a verified copy (not_verified), or another protection purchase is in progress.
POST /api/protection/services
409offer_unavailable
Offer unavailableNo offer for this account or plan (offer_unavailable).
POST /api/plans/{plan}/grace
409sales_closed
Sales closedPlans are not on sale now (sales_closed) or billing is off (billing_off).
POST /api/plans/{plan}
413query_too_long
Query too longQuery exceeds 300 characters (query_too_long) or body exceeds 16 KiB (body_too_large).
GET /api/x402/smart-filterPOST /api/catalog/smart-filter
422cartao_recusado
Cartao recusadoCard declined (cartao_recusado).
POST /api/credito/asaas/{id}/cartao
503asaas_ocupado
Asaas 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/asaas
503check_unavailable
Check unavailableThe check is unavailable (check_unavailable). Not charged.
GET /api/x402/check