Pular para o conteúdo principal
Formato do erro
{
   "code": "<error_code>",
   "title": "<error_title>",
   "message": "<error_message>"
}
Definição dos campos
  • code – Um identificador único e estável para o erro. Útil para tratamento programático e solicitações de suporte.
  • title – Um resumo curto e legível do problema.
  • message – Orientação detalhada para ajudá-lo a resolver o erro.
Essa estrutura garante que você sempre receba feedback acionável quando algo não sair como esperado.

Erros do Reporter


Os seguintes erros podem ocorrer ao interagir com os endpoints do Reporter. Cada erro segue nossa estrutura padrão, facilitando a depuração e a resposta a problemas de forma programática. Consulte a tabela abaixo para uma lista de possíveis códigos de erro, o que eles significam e como resolvê-los.

400


CódigoTítuloMensagemTradução
TPL-0001Missing required fieldsOne or more required fields are missing. Please ensure all required fields like ‘description’, ‘template’, and ‘outputFormat’ are included.Um ou mais campos obrigatórios estão faltando. Certifique-se de que todos os campos obrigatórios como ‘description’, ‘template’ e ‘outputFormat’ estejam incluídos.
TPL-0002Invalid file formatThe uploaded file must be a ‘.tpl’ file. Other formats are not supported.O arquivo enviado deve ser um arquivo ‘.tpl’. Outros formatos não são suportados.
TPL-0003Invalid output formatThe outputFormat field must be one of: ‘html’, ‘csv’, or ‘xml’.O campo outputFormat deve ser um dos seguintes: ‘html’, ‘csv’ ou ‘xml’.
TPL-0004Invalid headerOne or more header values are missing or incorrectly formatted. Please verify required headers %VALUE.Um ou mais valores de cabeçalho estão faltando ou formatados incorretamente. Verifique os cabeçalhos obrigatórios %VALUE.
TPL-0005Invalid File UploadedThe file you submitted is invalid. Please check the uploaded file with error: %VALUEO arquivo enviado é inválido. Verifique o arquivo enviado com o erro: %VALUE
TPL-0006Error File EmptyThe file you submitted is empty. Please check the uploaded fileO arquivo enviado está vazio. Verifique o arquivo enviado
TPL-0007Error File Content InvalidThe file content is invalid because is not %s. Please check the uploaded file.O conteúdo do arquivo é inválido porque não é %s. Verifique o arquivo enviado.
TPL-0008Invalid Map FieldsThe field on template file is invalid. Invalid field %s on %s.O campo no arquivo de template é inválido. Campo inválido %s em %s.
TPL-0009Invalid Path ParameterPath parameters is in an incorrect format. Please check the following parameter %v and ensure they meet the required format before trying again.Os parâmetros de caminho estão em um formato incorreto. Verifique o seguinte parâmetro %v e certifique-se de que atendem ao formato exigido antes de tentar novamente.
TPL-0010Update Output format without template FileCan not update output format without passing template file. Please check information passed and try again.Não é possível atualizar o formato de saída sem passar o arquivo de template. Verifique as informações passadas e tente novamente.
TPL-0012Invalid templateIDThe specified templateID is not a valid UUID. Please check the value passed.O templateID especificado não é um UUID válido. Verifique o valor informado.
TPL-0013Invalid ledgerIDThe specified ledgerID inside ledger ID list is not a valid UUID. Please check the value passed %v.O ledgerID especificado dentro da lista de IDs do ledger não é um UUID válido. Verifique o valor informado %v.
TPL-0014Missing required fieldsThe fields mapped on template file is missing on tables schema. Please check the fields passed ‘%v’.Os campos mapeados no arquivo de template estão faltando no esquema das tabelas. Verifique os campos informados ‘%v’.
TPL-0015Unexpected Fields in the RequestThe request body contains more fields than expected. Please send only the allowed fields as per the documentation. The unexpected fields are listed in the fields object.O corpo da requisição contém mais campos do que o esperado. Envie apenas os campos permitidos conforme a documentação. Os campos inesperados estão listados no objeto fields.
TPL-0016Missing Fields in RequestYour request is missing one or more required fields. Please refer to the documentation to ensure all necessary fields are included in your request.Sua requisição está sem um ou mais campos obrigatórios. Consulte a documentação para garantir que todos os campos necessários estejam incluídos na sua requisição.
TPL-0017Bad RequestThe server could not understand the request due to malformed syntax. Please check the listed fields and try again.O servidor não conseguiu entender a requisição devido a uma sintaxe malformada. Verifique os campos listados e tente novamente.
TPL-0019Invalid Query ParameterOne or more query parameters are in an incorrect format. Please check the following parameters ‘%v’ and ensure they meet the required format before trying again.Um ou mais parâmetros de consulta estão em um formato incorreto. Verifique os seguintes parâmetros ‘%v’ e certifique-se de que atendem ao formato exigido antes de tentar novamente.
TPL-0023Invalid Date Range ErrorBoth ‘initialDate’ and ‘finalDate’ fields are required and must be in the ‘yyyy-mm-dd’ format. Please provide valid dates and try againOs campos ‘initialDate’ e ‘finalDate’ são obrigatórios e devem estar no formato ‘yyyy-mm-dd’. Forneça datas válidas e tente novamente
TPL-0026Metadata Key Length ExceededThe metadata value %v exceeds the maximum allowed length of %v characters. Please use a shorter value.O valor de metadado %v excede o comprimento máximo permitido de %v caracteres. Use um valor mais curto.
TPL-0027Metadata Value Length ExceededThe metadata value %v exceeds the maximum allowed length of %v characters. Please use a shorter value.O valor de metadado %v excede o comprimento máximo permitido de %v caracteres. Use um valor mais curto.
TPL-0028Invalid Metadata NestingThe metadata object cannot contain nested values. Please ensure that the value %v is not nested and try again.O objeto de metadados não pode conter valores aninhados. Certifique-se de que o valor %v não esteja aninhado e tente novamente.
TPL-0029Report status not FinishedThe Report is not ready to download. Report is processing yet.O relatório não está pronto para download. O relatório ainda está sendo processado.
TPL-0030Missing Schema TableThere is a schema table missing. Please check your template file passed.Há uma tabela de esquema faltando. Verifique o arquivo de template informado.
TPL-0031Missing Data Source TableThe data source %v is missing. Please check the value passed.A fonte de dados %v está faltando. Verifique o valor informado.
TPL-0032Script Tag DetectedThe template file contains a script tag and is not allowed. Please check the template file and try again.O arquivo de template contém uma tag de script e isso não é permitido. Verifique o arquivo de template e tente novamente.

404

CódigoTítuloMensagemTradução
TPL-0011Entity Not FoundNo %v entity was found for the given ID. Please make sure to use the correct ID for the entity you are trying to manage.Nenhuma entidade %v foi encontrada para o ID informado. Certifique-se de usar o ID correto para a entidade que você está tentando gerenciar.
TPL-0020Invalid Date Format ErrorThe ‘initialDate’, ‘finalDate’, or both are in the incorrect format. Please use the ‘yyyy-mm-dd’ format and try again.O ‘initialDate’, ‘finalDate’, ou ambos estão no formato incorreto. Use o formato ‘yyyy-mm-dd’ e tente novamente.
TPL-0021Invalid Final Date ErrorThe ‘finalDate’ cannot be earlier than the ‘initialDate’. Please verify the dates and try again.O ‘finalDate’ não pode ser anterior ao ‘initialDate’. Verifique as datas e tente novamente.
TPL-0022Date Range Exceeds Limit ErrorThe range between ‘initialDate’ and ‘finalDate’ exceeds the permitted limit of %v months. Please adjust the dates and try againO intervalo entre ‘initialDate’ e ‘finalDate’ excede o limite permitido de %v meses. Ajuste as datas e tente novamente
TPL-0024Pagination Limit ExceededThe pagination limit exceeds the maximum allowed of %v items per page. Please verify the limit and try again.O limite de paginação excede o máximo permitido de %v itens por página. Verifique o limite e tente novamente.
TPL-0025Invalid Sort OrderThe ‘sort_order’ field must be ‘asc’ or ‘desc’. Please provide a valid sort order and try again.O campo ‘sort_order’ deve ser ‘asc’ ou ‘desc’. Forneça uma ordem de classificação válida e tente novamente.

500

CódigoTítuloMensagemTradução
TPL-0018Internal Server ErrorThe server encountered an unexpected error. Please try again later or contact support.O servidor encontrou um erro inesperado. Tente novamente mais tarde ou entre em contato com o suporte.
TPL-0033Encryption data error Tag DetectedError to make the encryption of CRM data. Err: %vErro ao realizar a criptografia dos dados de CRM. Err: %v
TPL-0034Communication Error with SeaweedFSError to communicate with SeaweedFS to download or upload file. Please try again.Erro ao se comunicar com o SeaweedFS para baixar ou enviar arquivo. Tente novamente.