{
"code": "INVALID_FORM_BODY",
"message": "Envie um texto de 1 a 200 caracteres.",
"errors": { "query": ["obrigatório"] }
}
| Field | What it is |
|---|---|
code | Fixed code your program can use to decide what to do |
message | Portuguese text to display to people |
errors | Optional: errors by field |
CODE: message with isError: true. See also MCP errors.
HTTP status
| Status | Meaning |
|---|---|
400 | Request with an invalid field or an impossible action |
401 | Missing authentication or invalid token |
403 | Missing permission or scope |
404 | Script, file, function, document, etc. does not exist |
405 | Method not accepted on this route |
409 | Conflict: the branch changed, the version already exists, confirmation required |
402 | No credits or balance for the action |
413 | Request or package too large |
429 | Too many calls: wait one minute |
500 / 502 / 503 | Server or external service failure; try again |
All codes
List taken from the server code (69 codes). ”…” marks parts that vary by case (name, number, version).| Code | HTTP | Server messages | What to do |
|---|---|---|---|
AI_FAILED | 502 | Falha ao falar com a IA DoglyTdc. Falha na IA DoglyTdc. | Failed to contact DoglyTdc AI; DoglyTdc AI failed. |
AI_NO_BALANCE | 402 | IA DoglyTdc sem saldo no momento. | DoglyTdc AI currently has no balance. |
AI_UNAVAILABLE | 503 | IA indisponível no momento. | AI is currently unavailable. |
ALREADY_DECIDED | 409 | Este código já foi decidido. Este pedido já foi decidido. | This code or request has already been decided. |
BAD_CHANNEL | 400 | Escolha um canal de texto ou de anúncios. | Choose a text or announcement channel. |
BOT_NOT_CONFIGURED | 409 | Configure o bot primeiro. Falta o Client Secret do bot. O dono do bot ainda não colou o ID do aplicativo e o Client Secret. | Configure the bot first; missing bot Client Secret; the owner has not yet pasted the application ID and Client Secret. |
BUILD_FAILED | 400 | Erro de sintaxe: … | Syntax error: … Fix the syntax or require error in src/. |
CREATE_FAILED | 400 | Não foi possível criar o script. Não foi possível salvar a versão. | Could not create the script or save the release. |
DISCORD_ERROR | 502 | Discord recusou o arquivo (HTTP …). | Discord rejected the file (HTTP …). |
ENV_INCOMPLETE | 409 | Falta o ID do aplicativo ou a chave pública nos segredos do servidor. Falta o token do bot nos segredos do servidor. | Missing application ID, public key, or bot token in server secrets. |
ENV_NOT_BOUND | 403 | Os segredos do servidor não são deste script. | The server secrets do not belong to this script. |
EXPIRED | 409 | Este pedido expirou. A IA precisa pedir de novo. | This request expired. The AI must request it again. |
IDENTITY_MANUAL | 403 | O dono definiu esta conexão como ”…”. Use whoami para ler. | The owner set this connection to ”…”. Use whoami to read it. |
IMAGE_TOO_LARGE | 413 | Imagem grande demais (máx. … KB). | Image too large (max. … KB). |
INSUFFICIENT_CREDITS | 402 | Sem créditos de IA na conta do dono do script. | No AI credits in the script owner’s account. The script owner needs credits. |
INTERNAL | 500 | Falha ao criar o webhook. Falha ao gerar o token. Falha no repositório. | Failed to create the webhook, generate the token, or access the repository. Internal error; try again. |
INVALID_CODE | 400 | Código inválido. Digite o código de 8 letras mostrado no terminal. | Invalid code. Enter the 8-letter code shown in the terminal. |
INVALID_FORM_BODY | 400 | Cole o token do bot para trocar dos segredos do servidor para chaves coladas. Cole o token do bot. Corpo inválido. Envie JSON válido. Envie script_id: os créditos saem do dono do script. Envie um texto de 1 a 200 caracteres. … | Paste the bot token to switch from server secrets to pasted keys; paste the bot token; invalid body; send valid JSON; send script_id: credits come from the script owner; send 1–200 characters; … Check the fields; errors identifies which one. |
INVALID_IMAGE | 400 | Envie PNG, JPG, GIF ou WEBP. | Send PNG, JPG, GIF, or WEBP. |
INVALID_RETURN | 400 | Endereço de volta inválido. | Invalid return address. |
INVALID_STATE | 409 | Este pedido não está em atendimento. Este pedido não está mais aguardando pagamento. Este pedido não pode mais ser cancelado. Este pedido não pode ser concluído. Este pedido não pode ser reembolsado. Só pedidos pagos têm atendimento. | This order is not being handled, is no longer awaiting payment, can no longer be canceled, cannot be completed, or cannot be refunded; only paid orders have support. |
INVALID_TOKEN | 400 | O Discord recusou este token do bot. O Discord recusou o token salvo. Troque o segredo do token. | Discord rejected this bot token or the saved token. Replace the token secret. |
LIMIT | 400 | Máximo de 20 conexões ativas. Revogue uma antes. Máximo de … itens por conexão. Apague algum antes. Máximo de … conexões ativas. Revogue algumas em Conexões MCP antes. | Maximum 20 active connections: revoke one first; maximum … items per connection: delete one first; maximum … active connections: revoke some in MCP Connections first. |
MAX_WEBHOOKS | 400 | Limite de 5 webhooks por script. | Limit of 5 webhooks per script. Delete a webhook (max. 5). |
MESSAGE_GONE | 404 | A mensagem foi apagada no Discord. Envie de novo. | The message was deleted in Discord. Send it again. |
METHOD_NOT_ALLOWED | 405 | Método não permitido nesta rota. Método não permitido. | Method not allowed on this route; method not allowed. |
MISSING_ACCESS | 403 | Este token não tem escopos da API de scripts. Este token é de outro script. Só dono/admin do DoglyTdc cria scripts novos. Só o dono do script confere o app no Discord. Só o dono do script corrige o app no Discord. Só o dono do script liga o bot aos segredos do servidor. … | This token lacks script API scopes or belongs to another script; only the DoglyTdc owner/admin can create scripts; only the script owner can check or fix the Discord app or connect the bot to server secrets; … You are not the owner/collaborator, or this action is owner-only. |
MISSING_PERMISSIONS | 403 | Por enquanto só a equipe DoglyTdc cria scripts. O sistema aberto está em desenvolvimento. | Only the DoglyTdc team can create scripts for now. The open system is under development. |
MISSING_SCOPE | 403 | Falta o escopo …. | Missing scope …. Request the missing scope when creating the token or connection. |
NOT_A_BOT | 400 | Este script não é um Bot Discord. | This script is not a Discord Bot. |
NOT_A_PLAN | 400 | Este item não é um plano. | This item is not a plan. |
NOT_FOUND | 404 | Conexão não encontrada ou já revogada. Conexão não encontrada. Item de contexto não encontrado nesta conexão. Pedido de aprovação não encontrado nesta conexão. Pedido não encontrado. Rota inexistente. … | Connection not found or already revoked; connection not found; context item or approval request not found in this connection; order not found; nonexistent route; … |
NO_CHANNEL | 400 | Escolha o canal de envio primeiro. | Choose the sending channel first. |
NO_CONNECTION | 400 | Envie a chave dsm_ que quer revogar. Esta ferramenta só funciona com uma chave de conexão MCP (dsm_). | Send the dsm_ key to revoke; this tool only works with an MCP connection key (dsm_). |
NO_OPTIONS | 400 | Adicione pelo menos uma opção. | Add at least one option. |
PANEL_DISABLED | 409 | Ligue este atendimento antes de publicar. | Enable this support panel before publishing. |
PAYLOAD_TOO_LARGE | 413 | Corpo grande demais. Pacote acima de 2 MB. | Body too large; package exceeds 2 MB. Reduce the package (max. 2 MB) or request size. |
RATE_LIMITED | 429 | Espere alguns segundos entre as consultas. IA ocupada: tente de novo em instantes. Limite de 120 mensagens MCP por minuto. Limite de 300 chamadas por minuto. Muitas chamadas. Espere um minuto. Muitas mensagens. Espere um minuto. … | Wait a few seconds between queries; AI busy: retry shortly; limit of 120 MCP messages or 300 calls per minute; too many calls or messages: wait one minute; … Wait one minute (Retry-After). |
REASON_REQUIRED | 400 | Escreva o motivo da cortesia. | Enter the reason for the complimentary service. |
REVOKED | 409 | Conexão revogada. | Connection revoked. |
SAVE_FAILED | 400 | Não foi possível criar. Não foi possível salvar. | Could not create or save. |
SEAL_FAILED | 500 | Não foi possível criptografar o pacote. Nada foi publicado. | Could not encrypt the package. Nothing was published. |
TEMPLATE_FAILED | 500 | Script criado, mas o modelo não foi salvo. Abra o painel para recuperar. | Script created, but the template was not saved. Open the panel to recover it. |
TICKET_FAILED | 502 | Não consegui abrir o atendimento. O bot precisa de \ | Could not open the support ticket. The bot needs … (source message is truncated). |
TOKEN_MISMATCH | 400 | Este token é de outro aplicativo. O token salvo é de outro aplicativo. | This token or the saved token belongs to another application. |
TOO_MANY | 409 | Máximo de … modelos. Apague algum antes. Máximo de … modelos. | Maximum … templates. Delete one first; maximum … templates. |
TOO_MANY_PANELS | 409 | No máximo … atendimentos por servidor. | At most … support panels per server. |
UNAUTHORIZED | 401 | Autorização revogada. Chave MCP inválida ou revogada. Envie Authorization: Bearer <token>. Sessão expirada. Entre de novo. Token de script inválido ou revogado. Token inválido, expirado ou revogado. | Authorization revoked; invalid or revoked MCP key; send Authorization: Bearer <token>; session expired: sign in again; invalid or revoked script token; invalid, expired, or revoked token. Token missing, incorrect, or revoked. Generate another. |
UNAVAILABLE | 503 | Não foi possível acessar os dados agora. Não foi possível concluir agora. Não foi possível conferir a chave agora. Não foi possível conferir a permissão agora. Não foi possível conferir a permissão. Não foi possível conferir agora. … | Could not access data, complete the action, check the key, check permission, or perform the check now; could not check permission; … Temporary failure; try again. |
UNKNOWN_AUTHORIZATION | 404 | Autorização inexistente. | Authorization does not exist. |
UNKNOWN_BOT | 404 | Bot inexistente. | Bot does not exist. |
UNKNOWN_CHANNEL | 404 | Esse canal não é deste servidor ou o bot não consegue vê-lo. | This channel does not belong to this server, or the bot cannot see it. |
UNKNOWN_CODE | 404 | Código inexistente, já usado ou expirado. Rode o comando de novo. Código inexistente. | Code does not exist, was already used, or expired. Run the command again; code does not exist. |
UNKNOWN_COLLECTION | 404 | Coleção inexistente. | Collection does not exist. |
UNKNOWN_COMMIT | 404 | Commit inexistente. | Commit does not exist. |
UNKNOWN_DOCUMENT | 404 | Documento não encontrado. | Document not found. |
UNKNOWN_FILE | 404 | Arquivo ”…” não existe neste ref. | File ”…” does not exist at this ref. |
UNKNOWN_FUNCTION | 404 | Função inexistente. | Function does not exist. |
UNKNOWN_GUILD | 400, 404 | Servidor inválido. O bot não está neste servidor. Adicione-o e clique em Atualizar. | Invalid server; the bot is not in this server. Add it and click Atualizar (Refresh). |
UNKNOWN_JOB | 404 | Pedido não encontrado. | Order not found. |
UNKNOWN_MESSAGE | 404 | Mensagem não encontrada. | Message not found. |
UNKNOWN_PANEL | 404 | Atendimento não encontrado. Nenhum atendimento neste servidor. | Support panel not found; no support panels in this server. |
UNKNOWN_SCRIPT | 404 | Script inexistente ou sem acesso. Script inexistente. | Script does not exist or is inaccessible; script does not exist. |
UNKNOWN_TEMPLATE | 404 | Modelo não encontrado. O modelo desta mensagem foi apagado. | Template not found; this message’s template was deleted. |
UNKNOWN_TOOL | 404 | Ferramenta do pedido não existe mais. | The request’s tool no longer exists. |
UNKNOWN_WEBHOOK | 404 | Webhook inexistente. | Webhook does not exist. |
UNPROTECTED_CONFIRM | 409 | A proteção está desligada: o código vai aberto para quem tiver o link. Confirme para publicar assim. | Protection is off: anyone with the link receives the code openly. Confirm to publish this way. Send confirm_unprotected: true or enable protection. |
UPLOAD_FAILED | 400 | Não foi possível criar o link da imagem. Não foi possível enviar a imagem. | Could not create the image link or upload the image. |
VERSION_EXISTS | 409 | A versão … já existe. | Version … already exists. Use a different version number. |

