code: Um identificador único e estável para o erro.title: Um breve resumo do problema.message: Orientação detalhada para resolver o erro.
fields fornece contexto adicional.
Exemplos:
Erros do Midaz
Consulte a tabela a seguir para os códigos de erro e suas descrições:
| Código | Título | Mensagem | Tradução |
|---|---|---|---|
| 0002 | Ledger Name Conflict | A 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. |
| 0003 | Asset Name or Code Duplicate | An 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. |
| 0004 | Code Uppercase Requirement | The 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. |
| 0005 | Currency Code Standard Compliance | Currency-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. |
| 0007 | Entity Not Found | No 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. |
| 0008 | Action Not Permitted | This 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. |
| 0009 | Missing Fields in Request | Your 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. |
| 0014 | Segment ID Inactive | The 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. |
| 0015 | Duplicate Segment Name Error | A 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. |
| 0017 | Invalid Script Format Error | The 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. |
| 0018 | Insufficient Funds Error | The 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. |
| 0019 | Account Ineligibility Error | One 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. |
| 0020 | Alias Unavailability Error | The 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. |
| 0021 | Parent Transaction ID Not Found | The 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. |
| 0022 | Immutable Field Error | The {{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. |
| 0023 | Transaction Timing Restriction | You 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. |
| 0024 | Account Status Transaction Restriction | The 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. |
| 0025 | Insufficient Account Balance Error | The 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. |
| 0026 | Transaction Method Restriction | Transactions 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}}. |
| 0029 | Invalid Parent Account ID | The 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. |
| 0032 | Invalid Country Code | The 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. |
| 0033 | Invalid Code Format | The ‘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. |
| 0034 | Asset Code Not Found | The 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. |
| 0035 | Portfolio ID Not Found | The 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. |
| 0036 | Segment ID Not Found | The 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. |
| 0037 | Ledger ID Not Found | The 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. |
| 0038 | Organization ID Not Found | The 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. |
| 0039 | Parent Organization ID Not Found | The 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. |
| 0040 | Invalid Type | The 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. |
| 0041 | Token Missing | A 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. |
| 0042 | Invalid Token | The 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. |
| 0043 | Insufficient Privileges | You 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. |
| 0046 | Internal Server Error | The 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. |
| 0047 | Bad Request | The 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. |
| 0050 | Metadata Key Length Exceeded | The 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. |
| 0051 | Metadata Value Length Exceeded | The 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. |
| 0052 | Account ID Not Found | The 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. |
| 0053 | Unexpected Fields in the Request | The 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. |
| 0055 | Asset ID Not Found | The 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. |
| 0056 | No Assets Found | No 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. |
| 0057 | No Segments Found | No 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. |
| 0058 | No Portfolios Found | No 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. |
| 0065 | Invalid Path Parameter | The 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. |
| 0066 | Invalid Account Type | The 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. |
| 0067 | Invalid Metadata Nesting | The 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. |
| 0068 | Operation ID Not Found | The 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. |
| 0069 | No Operations Found | No 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. |
| 0071 | No Transactions Found | No 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. |
| 0073 | Transaction Value Mismatch | The 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. |
| 0074 | External Account Modification Prohibited | Accounts 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. |
| 0079 | Date Range Exceeds Limit Error | The 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. |
| 0080 | Pagination Limit Exceeded | The 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. |
| 0081 | Invalid Sort Order | The ‘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. |
| 0082 | Invalid Query Parameter | One 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. |
| 0083 | Invalid Date Range Error | Both ‘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. |
| 0084 | Duplicate Idempotency Key | The 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. |
| 0085 | Account Alias Not Found | The 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. |
| 0086 | Race condition detected | A race condition was detected while processing your request. Please try again | Uma condição de corrida foi detectada ao processar sua requisição. Por favor, tente novamente. |
| 0087 | Transaction Revert already exist | Transaction revert already exists. Please try again. | A reversão da transação já existe. Por favor, tente novamente. |
| 0088 | Transaction is already a reversal | Transaction is already a reversal. Please try again | A transação já é uma reversão. Por favor, tente novamente. |
| 0089 | Transaction can’t be reverted | Transaction can’t be reverted. Please try again | A transação não pode ser revertida. Por favor, tente novamente. |
| 0091 | ID cannot be used as the parent ID | The 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. |
| 0092 | No Balances Found | No 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. |
| 0093 | Balance Cannot Be Deleted | Balance 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. |
| 0094 | Invalid Request Body | The 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. |
| 0099 | Transaction Status Invalid | Transaction cannot be reverted because its status is not APPROVED | A transação não pode ser revertida porque seu status não é APPROVED. |
| 0100 | Operation Route Title Already Exists | An 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. |
| 0101 | Operation Route Not Found | The 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. |
| 0102 | No Operation Routes Found | No 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. |
| 0103 | Invalid Operation Route Type | The 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. |
| 0104 | Missing Operation Routes in Request | Your 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. |
| 0105 | Transaction Route Not Found | The 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. |
| 0106 | No Transaction Routes Found | No 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. |
| 0107 | Operation Route Linked to Transaction Routes | The 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. |
| 0108 | Duplicate Account Type Key Value Error | An 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. |
| 0109 | Account Type Not Found Error | The 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. |
| 0110 | No Account Types Found | No 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. |
| 0111 | Invalid Account Rule Type | The 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. |
| 0112 | Invalid Account Rule Value | The 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’. |
| 0120 | Invalid Characters | The 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. |
| 0123 | Duplicated Alias Key Value Error | An 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. |
| 0124 | Additional Balance Creation Not Allowed | Additional balances are not allowed for external account type. | Saldos adicionais não são permitidos para o tipo de conta external. |

