Pular para o conteúdo principal
O formato é o seguinte:
{
   "code":"<error_code>",
   "title":"<error_title>",
   "message":"<error_message>"
}
Definição dos campos
  • code: Um identificador único e estável para o erro.
  • title: Um breve resumo do problema.
  • message: Orientação detalhada para resolver o erro.
Detalhes de erros a nível de campo Para problemas específicos de campos individuais, um objeto fields fornece contexto adicional. Exemplos:
{
   "code":"0009",
   "title":"Missing Fields in Request",
   "message":"Your request is missing one or more required fields. Please refer to the documentation to ensure all necessary fields are included in your request.",
   "fields": {
      "{{field}}": "{{field}} is a required field"
   }
}

Erros do Midaz


Consulte a tabela a seguir para os códigos de erro e suas descrições:
CódigoTítuloMensagemTradução
0002Ledger Name ConflictA ledger named {{name}} already exists in your organization. Please rename the ledger, or if you want to use the same name, consider creating a new ledger for a different division.Já existe um ledger chamado {{name}} em sua organização. Por favor, renomeie o ledger ou, se quiser usar o mesmo nome, considere criar um novo ledger para uma divisão diferente.
0003Asset Name or Code DuplicateAn asset with the same name or code already exists in your ledger. Please modify the name or code of your new asset.Já existe um ativo com o mesmo nome ou código em seu ledger. Por favor, modifique o nome ou o código do seu novo ativo.
0004Code Uppercase RequirementThe code must be in uppercase. Please ensure that the code is in uppercase format and try again.O código deve estar em letras maiúsculas. Por favor, certifique-se de que o código está em formato maiúsculo e tente novamente.
0005Currency Code Standard ComplianceCurrency-type assets must comply with the ISO-4217 standard. Please use a currency code that conforms to ISO-4217 guidelines.Ativos do tipo moeda devem estar em conformidade com o padrão ISO-4217. Por favor, utilize um código de moeda que esteja de acordo com as diretrizes ISO-4217.
0007Entity Not FoundNo 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 foi encontrada para o ID informado. Por favor, certifique-se de usar o ID correto para a entidade que você está tentando gerenciar.
0008Action Not PermittedThis action is not permitted in the current environment. Contact an administrator if you believe this is an error.Esta ação não é permitida no ambiente atual. Entre em contato com um administrador se você acredita que isso é um erro.
0009Missing 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. Por favor, consulte a documentação para garantir que todos os campos necessários estejam incluídos na sua requisição.
0014Segment ID InactiveThe segment with ID {{id}} is currently inactive. Please activate the segment before proceeding.O segmento com ID {{id}} está atualmente inativo. Por favor, ative o segmento antes de prosseguir.
0015Duplicate Segment Name ErrorA segment with the name {{name}} already exists for this ledger ID {{ledgerId}}. Please try again with a different ledger or name.Já existe um segmento com o nome {{name}} para este ledger ID {{ledgerId}}. Por favor, tente novamente com um ledger ou nome diferente.
0017Invalid Script Format ErrorThe script provided in your request is invalid or in an unsupported format. Please verify the script format and try again.O script fornecido na sua requisição é inválido ou está em um formato não suportado. Por favor, verifique o formato do script e tente novamente.
0018Insufficient Funds ErrorThe transaction could not be completed due to insufficient funds in the account. Please add sufficient funds to your account and try again.A transação não pôde ser concluída devido a fundos insuficientes na conta. Por favor, adicione fundos suficientes à sua conta e tente novamente.
0019Account Ineligibility ErrorOne or more accounts listed in the transaction are not eligible to participate. Please review the account statuses and try again.Uma ou mais contas listadas na transação não estão elegíveis para participar. Por favor, revise os status das contas e tente novamente.
0020Alias Unavailability ErrorThe alias {{alias}} is already in use. Please choose a different alias and try again.O alias {{alias}} já está em uso. Por favor, escolha um alias diferente e tente novamente.
0021Parent Transaction ID Not FoundThe parentTransactionId {{parentTransactionId}} does not correspond to any existing transaction. Please review the ID and try again.O parentTransactionId {{parentTransactionId}} não corresponde a nenhuma transação existente. Por favor, revise o ID e tente novamente.
0022Immutable Field ErrorThe {{field}} field cannot be modified. Please remove this field from your request and try again.O campo {{field}} não pode ser modificado. Por favor, remova este campo da sua requisição e tente novamente.
0023Transaction Timing RestrictionYou can only perform another transaction using {{assetCode}} of {{amount}} from {{source}} to {{destination}} after {{timestampUnlock}}. Please wait until the specified time to try again.Você só pode realizar outra transação usando {{assetCode}} de {{amount}} de {{source}} para {{destination}} após {{timestampUnlock}}. Por favor, aguarde até o horário especificado para tentar novamente.
0024Account Status Transaction RestrictionThe current statuses of the source and/or destination accounts do not permit transactions. Change the account status(es) and try again.Os status atuais das contas de origem e/ou destino não permitem transações. Altere o(s) status da(s) conta(s) e tente novamente.
0025Insufficient Account Balance ErrorThe account {{accountId}} does not have sufficient balance. Please try again with an amount that is less than or equal to the available balance.A conta {{accountId}} não possui saldo suficiente. Por favor, tente novamente com um valor menor ou igual ao saldo disponível.
0026Transaction Method RestrictionTransactions involving {{assetCode}} are not permitted for the specified source and/or destination. Please try again using accounts that allow transactions with {{assetCode}}.Transações envolvendo {{assetCode}} não são permitidas para a origem e/ou destino especificados. Por favor, tente novamente usando contas que permitam transações com {{assetCode}}.
0029Invalid Parent Account IDThe specified parent account ID does not exist. Please verify the ID is correct and try your request again.O ID da conta pai especificado não existe. Por favor, verifique se o ID está correto e tente sua requisição novamente.
0032Invalid Country CodeThe provided country code in the ‘address.country’ field does not conform to the ISO-3166 alpha-2 standard. Please provide a valid alpha-2 country code.O código de país fornecido no campo ‘address.country’ não está em conformidade com o padrão ISO-3166 alpha-2. Por favor, forneça um código de país alpha-2 válido.
0033Invalid Code FormatThe ‘code’ field must be alphanumeric, in upper case, and must contain at least one letter. Please provide a valid code.O campo ‘code’ deve ser alfanumérico, em letras maiúsculas, e deve conter pelo menos uma letra. Por favor, forneça um código válido.
0034Asset Code Not FoundThe provided asset code does not exist in our records. Please verify the asset code and try again.O código de ativo fornecido não existe em nossos registros. Por favor, verifique o código do ativo e tente novamente.
0035Portfolio ID Not FoundThe provided portfolio ID does not exist in our records. Please verify the portfolio ID and try again.O ID do portfólio fornecido não existe em nossos registros. Por favor, verifique o ID do portfólio e tente novamente.
0036Segment ID Not FoundThe provided segment ID does not exist in our records. Please verify the segment ID and try again.O ID do segmento fornecido não existe em nossos registros. Por favor, verifique o ID do segmento e tente novamente.
0037Ledger ID Not FoundThe provided ledger ID does not exist in our records. Please verify the ledger ID and try again.O ID do ledger fornecido não existe em nossos registros. Por favor, verifique o ID do ledger e tente novamente.
0038Organization ID Not FoundThe provided organization ID does not exist in our records. Please verify the organization ID and try again.O ID da organização fornecido não existe em nossos registros. Por favor, verifique o ID da organização e tente novamente.
0039Parent Organization ID Not FoundThe provided parent organization ID does not exist in our records. Please verify the parent organization ID and try again.O ID da organização pai fornecido não existe em nossos registros. Por favor, verifique o ID da organização pai e tente novamente.
0040Invalid TypeThe provided ‘type’ is not valid. Accepted types are: currency, crypto, commodities, or others. Please provide a valid type.O ‘type’ fornecido não é válido. Os tipos aceitos são: currency, crypto, commodities ou others. Por favor, forneça um tipo válido.
0041Token MissingA valid token must be provided in the request header. Please include a token and try again.Um token válido deve ser fornecido no cabeçalho da requisição. Por favor, inclua um token e tente novamente.
0042Invalid TokenThe provided token is expired, invalid or malformed. Please provide a valid token and try again.O token fornecido está expirado, inválido ou malformado. Por favor, forneça um token válido e tente novamente.
0043Insufficient PrivilegesYou do not have the necessary permissions to perform this action. Please contact your administrator if you believe this is an error.Você não possui as permissões necessárias para realizar esta ação. Por favor, entre em contato com seu administrador se acredita que isso é um erro.
0046Internal Server ErrorThe server encountered an unexpected error. Please try again later or contact support.O servidor encontrou um erro inesperado. Por favor, tente novamente mais tarde ou entre em contato com o suporte.
0047Bad RequestThe server could not understand the request due to malformed syntax. Please check the listed fields and try again.O servidor não pôde entender a requisição devido a uma sintaxe malformada. Por favor, verifique os campos listados e tente novamente.
0050Metadata Key Length ExceededThe metadata key {{key}} exceeds the maximum allowed length. Please use a shorter key.A chave de metadados {{key}} excede o comprimento máximo permitido. Por favor, use uma chave mais curta.
0051Metadata Value Length ExceededThe metadata value {{key}} exceeds the maximum allowed length. Please use a shorter value.O valor de metadados {{key}} excede o comprimento máximo permitido. Por favor, use um valor mais curto.
0052Account ID Not FoundThe provided account ID does not exist in our records. Please verify the account ID and try again.O ID da conta fornecido não existe em nossos registros. Por favor, verifique o ID da conta e tente novamente.
0053Unexpected 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. Por favor, envie apenas os campos permitidos conforme a documentação. Os campos inesperados estão listados no objeto fields.
0055Asset ID Not FoundThe specified asset ID does not exist in the provided ledger. Please verify the asset ID and try again.O ID do ativo especificado não existe no ledger fornecido. Por favor, verifique o ID do ativo e tente novamente.
0056No Assets FoundNo assets were found for the specified ledger. Please create an asset or verify the ledger exists.Nenhum ativo foi encontrado para o ledger especificado. Por favor, crie um ativo ou verifique se o ledger existe.
0057No Segments FoundNo segments were found for the specified ledger. Please create a segment or verify the ledger exists.Nenhum segmento foi encontrado para o ledger especificado. Por favor, crie um segmento ou verifique se o ledger existe.
0058No Portfolios FoundNo portfolios were found for the specified ledger. Please create a portfolio or verify the ledger exists.Nenhum portfólio foi encontrado para o ledger especificado. Por favor, crie um portfólio ou verifique se o ledger existe.
0065Invalid Path ParameterThe provided path parameter {{parameter_name}} is not in the expected format. Please ensure the parameter adheres to the required format and try again.O parâmetro de caminho {{parameter_name}} fornecido não está no formato esperado. Por favor, certifique-se de que o parâmetro segue o formato exigido e tente novamente.
0066Invalid Account TypeThe provided ‘type’ is not valid. Accepted types are: deposit, savings, loans, marketplace, cerditCard or external. Please provide a valid type.O ‘type’ fornecido não é válido. Os tipos aceitos são: deposit, savings, loans, marketplace, cerditCard ou external. Por favor, forneça um tipo válido.
0067Invalid Metadata NestingThe metadata object cannot contain nested values. Please ensure that the value {{value}} is not nested and try again.O objeto de metadados não pode conter valores aninhados. Por favor, certifique-se de que o valor {{value}} não está aninhado e tente novamente.
0068Operation ID Not FoundThe provided operation ID does not exist in our records. Please verify the operation ID and try again.O ID da operação fornecido não existe em nossos registros. Por favor, verifique o ID da operação e tente novamente.
0069No Operations FoundNo operations were found for the given query parameters. Please adjust your filters and try again.Nenhuma operação foi encontrada para os parâmetros de consulta informados. Por favor, ajuste seus filtros e tente novamente.
0071No Transactions FoundNo transactions were found for the given query parameters. Please adjust your filters and try again.Nenhuma transação foi encontrada para os parâmetros de consulta informados. Por favor, ajuste seus filtros e tente novamente.
0073Transaction Value MismatchThe values for the source, the destination, or both do not match the specified transaction amount. Please verify the values and try again.Os valores da origem, do destino ou de ambos não correspondem ao valor especificado da transação. Por favor, verifique os valores e tente novamente.
0074External Account Modification ProhibitedAccounts of type ‘external’ cannot be deleted or modified as they are used for traceability with external systems. Please review your request and ensure operations are only performed on internal accounts.Contas do tipo ‘external’ não podem ser excluídas ou modificadas, pois são usadas para rastreabilidade com sistemas externos. Por favor, revise sua requisição e certifique-se de que as operações sejam realizadas apenas em contas internas.
0079Date Range Exceeds Limit ErrorThe range between ‘initialDate’ and ‘finalDate’ exceeds the permitted limit of {{limit}} months. Please adjust the dates and try again.O intervalo entre ‘initialDate’ e ‘finalDate’ excede o limite permitido de {{limit}} meses. Por favor, ajuste as datas e tente novamente.
0080Pagination Limit ExceededThe pagination limit exceeds the maximum allowed of {{pageLimit}} items per page. Please verify the limit and try again.O limite de paginação excede o máximo permitido de {{pageLimit}} itens por página. Por favor, verifique o limite e tente novamente.
0081Invalid 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’. Por favor, forneça uma ordem de classificação válida e tente novamente.
0082Invalid Query ParameterOne or more query parameters are in an incorrect format. Please check the following parameters ‘{{parameter}}’ and ensure they meet the required format before trying again.Um ou mais parâmetros de consulta estão em um formato incorreto. Por favor, verifique os seguintes parâmetros ‘{{parameter}}’ e certifique-se de que atendem ao formato exigido antes de tentar novamente.
0083Invalid Date Range ErrorBoth ‘initialDate’ and ‘finalDate’ fields are required and must be in the ‘yyyy-mm-dd’ format. Please provide valid dates and try again.Os campos ‘initialDate’ e ‘finalDate’ são obrigatórios e devem estar no formato ‘yyyy-mm-dd’. Por favor, forneça datas válidas e tente novamente.
0084Duplicate Idempotency KeyThe idempotency key ‘{{key}}’ is already in use. Please provide a unique key and try again.A chave de idempotência ‘{{key}}’ já está em uso. Por favor, forneça uma chave única e tente novamente.
0085Account Alias Not FoundThe provided account Alias does not exist in our records. Please verify the account Alias and try again.O Alias da conta fornecido não existe em nossos registros. Por favor, verifique o Alias da conta e tente novamente.
0086Race condition detectedA race condition was detected while processing your request. Please try againUma condição de corrida foi detectada ao processar sua requisição. Por favor, tente novamente.
0087Transaction Revert already existTransaction revert already exists. Please try again.A reversão da transação já existe. Por favor, tente novamente.
0088Transaction is already a reversalTransaction is already a reversal. Please try againA transação já é uma reversão. Por favor, tente novamente.
0089Transaction can’t be revertedTransaction can’t be reverted. Please try againA transação não pode ser revertida. Por favor, tente novamente.
0091ID cannot be used as the parent IDThe provided ID cannot be used as the parent ID. Please choose a different one.O ID fornecido não pode ser usado como ID pai. Por favor, escolha um diferente.
0092No Balances FoundNo balances were found for the given query parameters. Please adjust your filters and try again.Nenhum saldo foi encontrado para os parâmetros de consulta informados. Por favor, ajuste seus filtros e tente novamente.
0093Balance Cannot Be DeletedBalance cannot be deleted because it still has funds in it or has active operations.O saldo não pode ser excluído porque ainda possui fundos ou tem operações ativas.
0094Invalid Request BodyThe request body is invalid or could not be parsed. Please check JSON structure and field types.O corpo da requisição é inválido ou não pôde ser processado. Por favor, verifique a estrutura JSON e os tipos dos campos.
0099Transaction Status InvalidTransaction cannot be reverted because its status is not APPROVEDA transação não pode ser revertida porque seu status não é APPROVED.
0100Operation Route Title Already ExistsAn operation route with the specified title already exists. Please use a different title and try again.Já existe uma rota de operação com o título especificado. Por favor, use um título diferente e tente novamente.
0101Operation Route Not FoundThe provided operation route does not exist in our records. Please verify the operation route and try again.A rota de operação fornecida não existe em nossos registros. Por favor, verifique a rota de operação e tente novamente.
0102No Operation Routes FoundNo operation routes were found for the given query parameters. Please adjust your filters and try again.Nenhuma rota de operação foi encontrada para os parâmetros de consulta informados. Por favor, ajuste seus filtros e tente novamente.
0103Invalid Operation Route TypeThe provided operation route type is not valid. Accepted types are ‘source’ or ‘destination’. Please provide a valid operation type.O tipo de rota de operação fornecido não é válido. Os tipos aceitos são ‘source’ ou ‘destination’. Por favor, forneça um tipo de operação válido.
0104Missing Operation Routes in RequestYour request must include at least one operation route of each type (debit and credit). Please refer to the documentation to ensure these fields are properly populated.Sua requisição deve incluir pelo menos uma rota de operação de cada tipo (débito e crédito). Por favor, consulte a documentação para garantir que esses campos estejam preenchidos corretamente.
0105Transaction Route Not FoundThe provided transaction route does not exist in our records. Please verify the transaction route and try again.A rota de transação fornecida não existe em nossos registros. Por favor, verifique a rota de transação e tente novamente.
0106No Transaction Routes FoundNo transaction routes were found for the given query parameters. Please adjust your filters and try again.Nenhuma rota de transação foi encontrada para os parâmetros de consulta informados. Por favor, ajuste seus filtros e tente novamente.
0107Operation Route Linked to Transaction RoutesThe operation route cannot be deleted because it is linked to one or more transaction routes. Please remove the operation route from all transaction routes before attempting to delete it.A rota de operação não pode ser excluída porque está vinculada a uma ou mais rotas de transação. Por favor, remova a rota de operação de todas as rotas de transação antes de tentar excluí-la.
0108Duplicate Account Type Key Value ErrorAn account type with the specified key value already exists for this organization and ledger. Please use a different key value or update the existing account type.Já existe um tipo de conta com o key value especificado para esta organização e ledger. Por favor, use um key value diferente ou atualize o tipo de conta existente.
0109Account Type Not Found ErrorThe account type you are trying to access does not exist or has been removed.O tipo de conta que você está tentando acessar não existe ou foi removido.
0110No Account Types FoundNo account types were found for the specified ledger. Please create an account type or verify the ledger exists.Nenhum tipo de conta foi encontrado para o ledger especificado. Por favor, crie um tipo de conta ou verifique se o ledger existe.
0111Invalid Account Rule TypeThe provided ‘account.ruleType’ is not valid. Accepted types are ‘alias’ or ‘account_type’. Please provide a valid rule type.O ‘account.ruleType’ fornecido não é válido. Os tipos aceitos são ‘alias’ ou ‘account_type’. Por favor, forneça um tipo de regra válido.
0112Invalid Account Rule ValueThe provided ‘account.validIf’ is not valid. Please provide a string for ‘alias’ or an array of strings for ‘account_type’.O ‘account.validIf’ fornecido não é válido. Por favor, forneça uma string para ‘alias’ ou um array de strings para ‘account_type’.
0120Invalid CharactersThe field ‘keyValue’ contains invalid characters. Use only letters, numbers, underscores and hyphens.O campo ‘keyValue’ contém caracteres inválidos. Use apenas letras, números, underscores e hífens.
0123Duplicated Alias Key Value ErrorAn account alias with the specified key value already exists for this organization and ledger. Please use a different key value.Já existe um alias de conta com o key value especificado para esta organização e ledger. Por favor, use um key value diferente.
0124Additional Balance Creation Not AllowedAdditional balances are not allowed for external account type.Saldos adicionais não são permitidos para o tipo de conta external.