# Erros da API — HookPulse

Toda resposta 4xx ou 5xx em `/api/*` usa o padrão **RFC 9457** (`Content-Type: application/problem+json; charset=utf-8`), com código estável em `code` e campos compatíveis `error` e `message`.

## Formato padrão

```json
{
  "type": "https://hookpulse.net/errors#invalid_session",
  "title": "Sessão inválida",
  "status": 401,
  "detail": "Entre com uma sessão da conta neste domínio ou envie uma credencial de API aceita.",
  "instance": "/api/me",
  "code": "invalid_session",
  "error": "invalid_session",
  "message": "Entre com uma sessão da conta neste domínio ou envie uma credencial de API aceita."
}
```

- `type`: URI do tipo do problema (`https://<host>/errors#<code>`).
- `title`: resumo curto do tipo.
- `status`: código HTTP inteiro (400–599).
- `detail`: explicação legível desta ocorrência.
- `instance`: caminho da requisição sem query string.
- `code`: código estável em snake_case para leitura por máquina.
- `error` / `message`: apelidos compatíveis de `code` e `detail`.
- Cabeçalhos úteis: `Retry-After` (429/503), `Allow` (405) e `PAYMENT-REQUIRED` (402 x402).

## Catálogo de códigos

### Autenticação e acesso

| HTTP | Code | Description |
|---:|---|---|
| 401 | `unauthorized` | **Não autenticado** — Autenticação necessária ou credencial recusada. |
| 401 | `invalid_session` | **Sessão inválida** — Entre com uma sessão da conta neste domínio ou envie uma credencial de API aceita. |
| 401 | `account_required` | **Conta necessária** — Esta operação exige uma conta autenticada. |
| 401 | `invalid_api_key` | **Chave de API inválida** — A chave de API (`mmk_…`) é inválida, foi revogada ou não pertence a esta organização ou produto. |
| 401 | `invalid_token` | **Token inválido** — O token bearer ou OAuth é inválido, expirou ou foi revogado. |
| 401 | `invalid_wallet_token` | **Credencial de carteira inválida** — A credencial da carteira (`mmw_…`) é inválida ou expirou. Autentique a carteira novamente. |
| 401 | `wallet_proof_required` | **Prova de carteira necessária** — Autentique a carteira pagadora (`mmw_…`) para consultar ou recuperar este pagamento. |
| 403 | `forbidden` | **Acesso negado** — Sua credencial é válida, mas não concede permissão para este recurso ou ação. |
| 403 | `organization_mfa_required` | **Segundo fator obrigatório** — Donos e administradores da organização precisam autenticar com segundo fator (passkey ou autenticador). |
| 403 | `organization_domain_locked` | **Domínio da organização bloqueado** — Esta ação está restrita pela política de domínio próprio da organização. |
| 403 | `human_verification_required` | **Verificação humana necessária** — Conclua a verificação interativa ou use uma rota de API autenticada ou paga. |
| 403 | `bot_blocked` | **Robô bloqueado** — Crawlers, indexadores e sondas automatizadas não podem enviar este formulário. |
| 403 | `turnstile_failed` | **Falha na verificação** — O desafio de verificação falhou. Gere um novo desafio e tente novamente. |

### Validação e entrada

| HTTP | Code | Description |
|---:|---|---|
| 400 | `bad_request` | **Pedido inválido** — O pedido está malformado ou sem parâmetros obrigatórios. |
| 400 | `invalid_request` | **Requisição inválida** — A URL, os cabeçalhos ou os parâmetros da requisição não passaram na validação. |
| 400 | `bad_json` | **JSON inválido** — Não foi possível interpretar o corpo do pedido como JSON válido. |
| 400 | `invalid_organization` | **Organização inválida** — Informe um identificador de organização válido em X-Organization-Id ou no caminho da rota. |
| 400 | `name` | **Nome inválido** — Informe um nome válido dentro do tamanho permitido. |
| 400 | `email` | **E-mail inválido** — Informe um endereço de e-mail válido. |
| 400 | `message` | **Mensagem inválida** — Escreva uma mensagem com o tamanho mínimo exigido. |
| 409 | `conflict` | **Conflito** — O pedido conflita com o estado atual do recurso ou reutiliza uma Idempotency-Key com corpo diferente. |
| 413 | `payload_too_large` | **Corpo grande demais** — O corpo da requisição ultrapassa o limite máximo permitido nesta rota. |
| 413 | `body_too_large` | **Corpo grande demais** — O corpo do pedido ultrapassa o tamanho máximo aceito por este endpoint. |
| 413 | `too_large` | **Corpo grande demais** — O conteúdo enviado ultrapassa o limite de tamanho do endpoint. |
| 422 | `unprocessable_entity` | **Conteúdo inválido** — A requisição está bem formada, mas um ou mais valores são semanticamente inválidos. |

### Pagamento, crédito e cota

| HTTP | Code | Description |
|---:|---|---|
| 402 | `payment_required` | **Pagamento necessário** — Pague por chamada via x402 (USDC na Base usando PAYMENT-REQUIRED / accepts[]) ou envie um token de crédito pré-pago em X-Credito. |
| 402 | `payment_verification_failed` | **Falha na verificação do pagamento** — A prova de pagamento x402 enviada foi recusada. Confira detail e os termos em PAYMENT-REQUIRED. |
| 401 | `credito_invalido` | **Token de crédito inválido** — O token de crédito pré-pago (`cred_…`) é inválido ou não foi encontrado. |
| 401 | `credito_simulado` | **Crédito simulado recusado** — Tokens de crédito simulado de desenvolvimento não são aceitos em produção. |
| 402 | `saldo_insuficiente` | **Saldo insuficiente** — O saldo da conta ou do crédito pré-pago é insuficiente para esta chamada. Recarregue ou pague via x402. |
| 404 | `not_for_sale` | **Fora de venda** — Esta rota paga ou SKU não está à venda neste produto no momento. |

### Limites de vazão

| HTTP | Code | Description |
|---:|---|---|
| 429 | `rate_limited` | **Limite de requisições excedido** — Limite de vazão ou concorrência excedido. Aguarde o tempo indicado no cabeçalho Retry-After antes de tentar novamente. |
| 429 | `rate_limit_exceeded` | **Franquia ou limite excedido** — A franquia gratuita ou janela de vazão foi atingida. Aguarde a próxima janela, entre na conta ou pague por chamada. |

### Recursos e rotas

| HTTP | Code | Description |
|---:|---|---|
| 404 | `not_found` | **Não encontrado** — A rota da API ou o recurso pedido não existe (ou não é acessível pela sua credencial). |
| 404 | `nao_encontrado` | **Não encontrado** — A rota da API ou o recurso pedido não existe (código equivalente a not_found nos produtos em português). |
| 404 | `organization_not_found` | **Organização não encontrada** — A organização não existe ou sua conta não faz parte dela. |
| 404 | `path_template_nao_expandido` | **Caminho-modelo não expandido** — Este caminho contém marcadores literais do catálogo (como `{id}`). Troque cada marcador por um valor real. |
| 405 | `method_not_allowed` | **Método não permitido** — Este método HTTP não é aceito neste endpoint. Confira os métodos permitidos no cabeçalho Allow. |
| 408 | `request_timeout` | **Tempo esgotado** — O cliente não concluiu o envio do pedido dentro do tempo limite do servidor. |
| 408 | `upload_timeout` | **Tempo esgotado no envio** — O corpo da requisição não chegou dentro do tempo limite permitido. |

### Servidor e disponibilidade

| HTTP | Code | Description |
|---:|---|---|
| 500 | `internal_error` | **Erro interno do servidor** — Ocorreu um erro inesperado ao processar o pedido. Repetir é seguro em rotas idempotentes. |
| 502 | `bad_gateway` | **Falha no serviço intermediário** — Um serviço dependente devolveu uma resposta inválida. Tente novamente mais tarde. |
| 502 | `send_fail` | **Falha no envio** — O serviço intermediário de entrega não conseguiu concluir o pedido. Tente novamente mais tarde. |
| 503 | `service_unavailable` | **Serviço indisponível** — O serviço está temporariamente indisponível ou no limite de capacidade. Confira Retry-After e tente novamente. |
| 503 | `auth_unavailable` | **Serviço de conta indisponível** — O serviço de autenticação está temporariamente indisponível. Tente novamente em instantes. |
| 503 | `mail_cfg` | **Envio de e-mail não configurado** — O envio de e-mail de contato não está configurado nesta instância. |

### Códigos específicos deste produto

| HTTP | Code | Description |
|---:|---|---|
| 400 | `alert_url` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints, POST /api/github/runs) |
| 400 | `cartao_dados` | Invalid card data (`cartao_dados`, with the `campo`). (POST /api/credito/asaas/{id}/cartao) |
| 400 | `cartao_hospedado` | Credit 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) |
| 400 | `check_expect_status_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints) |
| 400 | `check_keyword_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_method_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_not_site` | `check_not_site`: the monitor is a routine. (POST /api/endpoints/{id}/check) |
| 400 | `check_timeout_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_url_credentials` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_url_invalid` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_url_private` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /api/x402/check, POST /api/endpoints) |
| 400 | `check_with_cron` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints) |
| 400 | `confirmation_required` | Missing `accept_data_removal: true` (`confirmation_required`). (POST /api/plans/cancel) |
| 400 | `cron_invalido` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /in/{ingestKey}/{slug}, POST /api/endpoints, POST /api/github/runs) |
| 400 | `cron_ou_interval` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints) |
| 400 | `cron_sem_ocorrencia` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /in/{ingestKey}/{slug}, POST /api/endpoints) |
| 400 | `crontab_sem_agenda` | `crontab_sem_agenda` — no schedule line was recognised. (POST /api/import/crontab) |
| 400 | `exit_code_fora_da_faixa` | `slug_invalido`, `exit_code_fora_da_faixa`, or a `cron` code as in the plain ping by name. (GET /in/{id}/{exit_code}, GET /in/{ingestKey}/{slug}/{signal}) |
| 400 | `grace_invalido` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /in/{ingestKey}/{slug}, POST /api/endpoints) |
| 400 | `missing_input` | Paid without `url` (`missing_input`, with `example`), or a field with a code: `check_url_invalid`, `check_url_credentials`, `check_url_private`, `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid` or `check_timeout_invalid`. Not charged. (GET /api/x402/check) |
| 400 | `nome_invalido` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (PATCH /api/endpoints/{id}, POST /api/endpoints) |
| 400 | `nome_obrigatorio` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (PATCH /api/endpoints/{id}, POST /api/endpoints) |
| 400 | `pagador_recusado` | Credit 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) |
| 400 | `pausa_invalida` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints) |
| 400 | `pausa_longa` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (POST /api/endpoints) |
| 400 | `schedule_required` | Invalid body (`status_invalido`, `cron_invalido`, `schedule_required`…) or `alert_url` that is not public HTTPS. (POST /api/github/runs) |
| 400 | `slug_invalido` | `slug_invalido` — nothing usable left after normalising. With `cron`: `cron_invalido`, `tz_invalida`, `grace_invalido` or `cron_sem_ocorrencia`. (GET /in/{ingestKey}/{slug}, GET /in/{ingestKey}/{slug}/{signal}) |
| 400 | `status_invalido` | Invalid body (`status_invalido`, `cron_invalido`, `schedule_required`…) or `alert_url` that is not public HTTPS. (POST /api/github/runs) |
| 400 | `tz_invalida` | The name answers with a code: `nome_obrigatorio` (missing, empty or blank) or `nome_invalido` (not a string, punctuation only, or carrying control/format characters). Also an invalid interval or an `alert_url` that is not public HTTPS. The schedule answers with a code: `cron_ou_interval` (both sent), `cron_invalido`, `tz_invalida`, `grace_invalido`, `cron_sem_ocorrencia` (never happens within 366 days). The maintenance window answers `pausa_invalida` (not a future instant) or `pausa_longa` (over 30 days). The `check` answers `check_invalid` (not an object), `check_url_invalid`, `check_url_credentials` (user or password in the URL), `check_url_private` (local name or private address), `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid`, `check_timeout_invalid` or `check_with_cron`. (GET /in/{ingestKey}/{slug}, POST /api/endpoints) |
| 401 | `invalid_github_token` | No GitHub OIDC token, a token for another audience or an expired one (`invalid_github_token`), or an unknown ingest key. (POST /api/github/runs) |
| 401 | `invalid_signature` | `invalid_signature`: the HMAC does not match the App's secret. (POST /api/github/app/webhook) |
| 401 | `session_ended` | Sign in first (`account_required`), or the session ended (`session_ended`). (POST /api/plans/cancel, POST /api/plans/{plan}/grace) |
| 404 | `unknown_plan` | Unknown plan (`unknown_plan`). (POST /api/plans/{plan}, POST /api/plans/{plan}/grace) |
| 409 | `billing_off` | Plans are not on sale now (`sales_closed`) or billing is off (`billing_off`). (POST /api/plans/{plan}) |
| 409 | `offer_unavailable` | No offer for this account or plan (`offer_unavailable`). (POST /api/plans/{plan}/grace) |
| 409 | `sales_closed` | Plans are not on sale now (`sales_closed`) or billing is off (`billing_off`). (POST /api/plans/{plan}) |
| 422 | `cartao_recusado` | Card declined (`cartao_recusado`). (POST /api/credito/asaas/{id}/cartao) |
| 429 | `check_too_soon` | `check_too_soon`, with `retry_after_sec`: this host was checked less than 10 seconds ago. (POST /api/endpoints/{id}/check) |
| 429 | `monitor_limit` | `monitor_limit` — without a key, the repository's free tier is full. (POST /api/github/runs) |
| 429 | `retry_after_sec` | `check_too_soon`, with `retry_after_sec`: this host was checked less than 10 seconds ago. (POST /api/endpoints/{id}/check) |
| 503 | `asaas_ocupado` | Automatic 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) |
| 503 | `collector_unavailable` | Our probe network did not answer (`collector_unavailable`). Not charged. (GET /api/x402/check) |
| 503 | `github_app_not_configured` | `github_app_not_configured`: this environment has no App credentials. (POST /api/github/app/webhook) |

## Exceções de protocolo

`/mcp` mantém JSON-RPC 2.0, rotas OAuth 2.1 seguem RFC 6749 e proxies de provedores de modelo em `/v1/*` preservam o formato nativo do provedor.

---

- HTML: https://hookpulse.net/errors
- OpenAPI: https://hookpulse.net/openapi.json
- llms.txt: https://hookpulse.net/llms.txt
- API: https://hookpulse.net/api/
