Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.
The error object
All error responses share the same structure:
{ "status": "error", "message": "You don't have enough funds for this transfer. Your available balance is 1,250.00 USD.", "type": "error_transfer_insufficient_funds"}
string
required
Always error on a failed request. The HTTP status code is on the response itself.
string
required
A human-readable description of what went wrong and what to do next. Safe to surface to your users.
string
required
A machine-readable error code. Use this to handle specific error cases programmatically. Follows the format error_{domain}_{specific_condition}.
array
Present only on validation errors (error_validation_error). Contains field-level details when multiple fields fail.
Show validations fields
object
An object keyed by the name of the field that failed validation.
Show properties
string
The specific validation error type for this field.
string
A human-readable description of why this field failed.
Example: a failed request
Retrieving a transfer that does not exist returns 404 with the error object:
{ "status": "error", "message": "We couldn't find that transfer. It may have been deleted or the ID might be incorrect.", "type": "error_resource_not_found"}
Validation error example
When a request fails validation on multiple fields, the validations array provides field-level detail:
{ "status": "error", "message": "Validation failed for one or more fields", "type": "error_validation_error", "validations": [ { "limit": { "type": "error_validation_value_out_of_range", "message": "The value for 'limit' should be between 1 and 100." } } ]}
HTTP status codes
Code
Meaning
When it occurs
400
Bad Request
Malformed request or a business rule violation (e.g. insufficient funds, invalid state)
401
Unauthorized
Missing, invalid, or expired API key
403
Forbidden
Valid key but insufficient permissions for this action
404
Not Found
The requested resource doesn’t exist
409
Conflict
A uniqueness or state conflict (e.g. duplicate resource, concurrent modification)
422
Unprocessable Entity
Request is well-formed but fails a business rule (e.g. KYC incomplete, compliance rejection)
429
Too Many Requests
Rate limit exceeded
500
Internal Server Error
Unexpected error on Nuvion’s end
503
Service Unavailable
A Nuvion service or downstream dependency is temporarily unavailable
504
Gateway Timeout
Request timed out
Handling errors
Check the type field to handle specific error cases in your integration. Use the message field to surface a reason to your users.
const response = await fetch('https://api.nuvion.dev/transfers', { method: 'POST', headers: { 'Authorization': `Bearer ${API_KEY}` }, body: JSON.stringify(payload)});if (!response.ok) { const error = await response.json(); switch (error.type) { case 'error_transfer_insufficient_funds': // Prompt the user to fund their account break; case 'error_auth_rate_limit_exceeded': // Back off and retry after a delay break; case 'error_validation_error': // Surface field-level errors from error.validations break; default: // Log the error and surface error.message to the user }}
Every error response includes an X-Request-ID header. Include this in any support request: it lets the Nuvion team trace the exact request in our systems.
Error reference
Error types follow the format error_{domain}_{specific_condition}. The domain indicates which part of the API the error originates from.
Authentication and authorization
Show View error codes
Type
Status
Description
error_auth_credentials_invalid
401
Missing or invalid credentials
error_auth_credentials_revoked
401
API key has been revoked
error_auth_permission_denied
403
Insufficient permissions for this action
error_auth_elevated_permission_required
403
Action requires administrator permissions
error_auth_rate_limit_exceeded
429
Too many requests; retry after the indicated delay
error_auth_api_version_locked
403
API access is locked to a specific version
error_auth_api_version_not_supported
400
The requested API version does not exist
error_auth_api_version_not_available
403
The requested API version is not yet available
error_auth_api_version_deprecated
410
The requested API version has been discontinued
error_auth_api_version_access_denied
403
No access to the requested API version
error_auth_verification_token_not_found
404
Verification token not found
error_auth_verification_token_expired
410
Verification token has expired
error_auth_verification_token_already_used
409
Verification token has already been used
error_auth_verification_token_invalid
401
Verification token is invalid
error_auth_email_verification_required
403
Email must be verified before proceeding
error_auth_mfa_already_enrolled
409
MFA method is already enrolled
error_auth_mfa_enrollment_not_found
404
MFA enrollment not found
error_auth_mfa_enrollment_already_completed
409
MFA enrollment is already complete
error_auth_mfa_enrollment_inactive
400
MFA method is inactive
error_auth_mfa_permission_denied
403
Insufficient permissions to manage this MFA method
error_auth_mfa_code_invalid
401
MFA verification code is incorrect
error_auth_mfa_verification_in_progress
409
An MFA verification is already in progress
error_auth_mfa_verification_not_in_progress
400
No MFA verification in progress
error_auth_mfa_not_enrolled
400
No MFA methods enrolled
Validation
A request that fails field validation returns 422 with the top-level type error_validation_error. The field-level types below appear inside the validations array of that response.
Show View error codes
Type
Status
Description
error_validation_error
422
One or more fields failed validation; see validations array
error_validation_required_field_missing
422
A required field is missing from the request
error_validation_invalid_format
422
A field value has an invalid format
error_validation_invalid_length
422
A field value is longer than the allowed length
error_validation_email_invalid
422
Email address is invalid
error_validation_phone_invalid
422
Phone number is invalid or missing country code
error_validation_date_invalid
422
Date format is invalid; use YYYY-MM-DD
error_validation_amount_invalid
422
Amount must be a positive number with up to 2 decimal places
error_validation_value_out_of_range
422
Field value falls outside the allowed range
error_validation_invalid_id
400
Resource ID is malformed
error_validation_value_not_supported
422
Value is not supported for this field
error_validation_customer_location_restricted
422
Operation not supported in the entity’s location
error_validation_password_reused
422
Password has been used recently
error_validation_password_weak
422
Password does not meet strength requirements
error_validation_mfa_medium_invalid
400
MFA method is not supported
error_validation_mfa_entity_required
400
Missing required entity details for this MFA method
error_validation_date_range_month
422
Date range must be within a single month
error_validation_date_range_order
400
Start date must be before or equal to end date
error_validation_payload_too_large
400
Request payload exceeds the size limit
error_validation_csv_file_structure
400
CSV must include a header row and at least one data row
error_validation_file_empty
400
Uploaded file is empty
error_validation_file_format_array
400
File content must be an array of rows
error_validation_file_no_rows
400
File contains no rows
Entities
Show View error codes
Type
Status
Description
error_entity_invite_resend_not_available
410
Invitation cannot be resent yet
error_entity_has_active_dependencies
400
Entity has active accounts or dependencies that must be resolved first
error_entity_invite_expired
410
Invitation has expired
error_entity_invite_already_accepted
409
Invitation has already been accepted
error_entity_person_document_link_mismatch
422
Document does not match the person on record
error_entity_user_has_no_access
403
User does not have access to this entity
error_entity_user_already_has_access
409
User already has access to this entity
error_entity_status_due_diligence_required
422
Entity requires additional verification
error_entity_status_not_incomplete
400
Action requires an incomplete entity profile
KYC
Show View error codes
Type
Status
Description
error_kyc_identity_verification_failed
422
Identity could not be verified with the provided information
error_kyc_document_expired
422
Uploaded document has expired
error_kyc_document_quality_insufficient
422
Document image quality is too poor to process
error_kyc_document_type_not_accepted
422
Document type is not accepted for this country
error_kyc_documents_incomplete
422
Required documents are missing
error_kyc_application_rejected
422
KYC application was rejected
error_kyc_under_compliance_review
422
Application is under compliance review
error_kyc_sanctions_check_failed
422
Sanctions check failed; contact support
error_kyc_enhanced_due_diligence_required
422
Enhanced due diligence is required; Nuvion will follow up
KYB
Show View error codes
Type
Status
Description
error_kyb_business_verification_failed
422
Business registration could not be verified
error_kyb_tax_id_invalid
422
Tax ID or EIN does not match records
error_kyb_incorporation_documents_missing
422
Incorporation documents are required
error_kyb_beneficial_owners_missing
422
Beneficial owners with ≥25% ownership must be provided
error_kyb_business_type_not_supported
422
Business type is not supported
error_kyb_application_rejected
422
KYB application was rejected
error_kyb_under_compliance_review
422
Business application is under compliance review
Accounts
Show View error codes
POST /accounts doesn’t return error_account_kyc_incomplete, error_account_limit_reached, error_account_type_unavailable, or error_account_already_exists. See Create an account for the errors it returns.
Type
Status
Description
error_account_kyc_incomplete
400
Identity verification must be completed before creating an account
error_account_limit_reached
400
Maximum number of accounts reached
error_account_type_unavailable
422
Account type is not available for this entity
error_account_already_exists
409
An account with these settings already exists
error_account_already_verified
409
Account is already verified
error_account_access_blocked
403
Account access is blocked
error_account_status_prevents_action
400
Account status does not allow this action
error_account_balance_not_zero
400
The account’s available balance is above zero, so it can’t be deleted
error_account_not_active
400
Account is not yet active
error_account_suspended
403
Account has been suspended
error_account_closed
400
Account is closed
FX quotes
Show View error codes
Type
Status
Description
error_fx_currency_pair_unsupported
422
from_currency and to_currency are the same currency
Funding sessions
Show View error codes
Type
Status
Description
error_funding_request_not_pending
400
The funding session is already in a final state, so it can’t be updated. Read its status with GET /funding-sessions/{id}.
Transfers
Show View error codes
Type
Status
Description
error_transfer_insufficient_funds
400
Account does not have enough available balance
error_transfer_daily_limit_exceeded
400
Transfer would exceed the daily limit
error_transfer_transaction_limit_exceeded
400
Transfer amount exceeds the per-transaction limit
error_transfer_monthly_volume_exceeded
400
Monthly transfer limit has been reached
error_transfer_account_not_active
400
Account is not active
error_transfer_counterparty_not_approved
400
Recipient has not been approved yet
error_transfer_same_day_cutoff_passed
400
Same-day cutoff has passed; transfer will process next business day
error_transfer_outside_business_hours
400
Wire transfers are only available during business hours
error_transfer_compliance_rejected
422
Transfer was rejected by compliance
error_transfer_recipient_flagged
403
Recipient has been flagged; contact support
error_transfer_purpose_code_required
422
A purpose code is required for this international transfer
error_transfer_beneficiary_name_too_long
422
Recipient name exceeds the character limit
error_transfer_network_unavailable
503
Payment network is temporarily unavailable
error_transfer_already_processing
409
Transfer is already being processed
error_transfer_recipient_account_closed
400
Recipient account is closed
error_transfer_bank_returned
400
Receiving bank returned the transfer; funds have been credited back
Counterparties
These checks run when you add payment details. The API returns them as the type of the failing field inside validations, under a 422 error_validation_error. For example, an invalid IBAN returns error_counterparty_iban_invalid for the iban field.
Show View error codes
Type
Status
Description
error_counterparty_account_number_invalid
400
Account number is invalid for this bank
error_counterparty_routing_number_invalid
422
Routing number does not match a known bank
error_counterparty_iban_invalid
422
IBAN is invalid
error_counterparty_swift_code_invalid
422
SWIFT/BIC code is invalid
error_duplicate_resource
422
A payment detail with these details already exists. The API reports it on the identifying field, such as account_number
error_counterparty_bank_details_missing
422
Bank name and country are required for international transfers
error_counterparty_sanctions_check_failed
422
Recipient failed a sanctions check; contact support
error_counterparty_verification_failed
422
Bank details could not be verified
Stablecoin wallets
Show View error codes
Type
Status
Description
error_wallet_generation_failed
400
Wallet address generation failed
error_wallet_blockchain_not_supported
400
Blockchain network is not supported
error_wallet_already_exists
409
A wallet already exists for this account on this network
error_wallet_account_not_ready
400
Account must be approved and active before a wallet can be issued
error_wallet_blockchain_unavailable
503
Blockchain network is temporarily unavailable
error_wallet_limit_reached
400
Maximum number of wallet addresses reached
Account details resolution
Show View error codes
Type
Status
Description
error_resolution_account_not_found
404
No account found matching the provided details
error_resolution_format_invalid
422
Account number format is invalid
error_resolution_bank_not_supported
422
Account lookups are not supported for this bank
error_resolution_timeout
504
Account lookup timed out
error_resolution_multiple_matches
400
Multiple accounts matched; provide more detail
error_resolution_service_unavailable
503
Account lookup service is temporarily unavailable
Card issuing
Show View error codes
Type
Status
Description
error_card_us_phone_required
400
A card phone number was sent and is not a valid US number. The message is Only a US phone number is allowed.
Card acquiring
Show View error codes
Type
Status
Description
error_acquiring_encryption_keys_revoked
403
Encryption keys have been revoked
error_acquiring_encryption_keys_expired
403
Encryption keys have expired; rotate them
error_acquiring_decryption_failed
400
Failed to decrypt payment data
error_acquiring_payment_method_invalid
422
Payment method is not supported for this request
error_acquiring_card_expired
422
Card has expired
error_acquiring_test_token_invalid
422
Live data cannot be used in the sandbox environment
error_acquiring_payment_processing_failed
503
Payment could not be completed
error_acquiring_payment_initialization_failed
503
Payment initialization failed
error_acquiring_provider_response_invalid
503
Invalid response from the payment processor
error_acquiring_session_token_generation_failed
503
Payment session token could not be generated
error_acquiring_payment_reference_invalid
400
Payment reference is invalid
error_acquiring_3ds_challenge_failed
422
3DS challenge verification failed
error_acquiring_refund_amount_exceeds_charge
400
Refund amount exceeds the original charge
error_acquiring_refund_duplicate_request
409
Duplicate refund request detected
error_acquiring_refund_processing_failed
503
Refund could not be processed
error_acquiring_payment_already_processed
409
Payment has already been processed
error_acquiring_refund_status_invalid
400
Payment is not eligible for a refund in its current status
Webhooks
Show View error codes
Type
Status
Description
error_webhook_delivery_failed
422
Webhook could not be delivered after multiple attempts
error_webhook_signature_invalid
401
Webhook signature does not match the signing secret
error_webhook_blacklisted_health_check_failed
422
A blacklisted webhook cannot be reactivated without passing the health check
Resources & system
Show View error codes
Type
Status
Description
error_resource_not_found
404
Resource does not exist or the ID is incorrect. A request to a URL that does not exist returns this error with the message “We couldn’t find that url.”
error_duplicate_resource
409
A record with this value already exists. The message says which kind of record collided. For entities, see Duplicate messages
error_resource_expired
410
The resource expired before the required action was taken
error_operation_invalid_for_state
400
Action is not allowed given the resource’s current status
error_operation_event_not_enabled
400
The event isn’t enabled for this webhook
error_concurrent_modification_detected
409
Resource was modified concurrently; refresh and retry
error_idempotency_key_mismatch
409
Idempotency key reused with different parameters
error_idempotency_request_processing
409
Original request is still processing; wait before retrying
error_system_internal_error
500
Unexpected error on Nuvion’s end; reference the X-Request-ID header when contacting support
error_system_service_unavailable
503
Service is temporarily unavailable
error_system_timeout
504
Request timed out
error_system_dependency_unavailable
503
A downstream dependency is temporarily unavailable
error_system_maintenance
503
Scheduled maintenance is in progress
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Nuvion","colors":{"primary":"#300402","light":"#F63080","dark":"#300402"},"favicon":"https://mintcdn.com/nuvion/hbjQV3ov_qINoV1i/favicon.png?fit=max\u0026auto=format\u0026n=hbjQV3ov_qINoV1i\u0026q=85\u0026s=2f4edb95e16cc61a62de418e6acbf186","logo":{"light":"https://mintcdn.com/nuvion/tMiP7xAqEQEfNcmw/logo.png?fit=max\u0026auto=format\u0026n=tMiP7xAqEQEfNcmw\u0026q=85\u0026s=9139fed6ee4935ad9d2d4e60a0295cd6","dark":"https://mintcdn.com/nuvion/a107OM9R2PgfcZFc/logo-dark.png?fit=max\u0026auto=format\u0026n=a107OM9R2PgfcZFc\u0026q=85\u0026s=92eb0746cda84be30b18a46e026f06e0"},"api":{"mdx":{"server":["https://api.nuvion.co","https://api.nuvion.dev"],"auth":{"method":"bearer","name":null}}},"appearance":{"default":"light","strict":null},"navbar":{"links":[{"label":"Dashboard","href":"https://app.nuvion.co/dashboard/settings"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.nuvion.co/dashboard/settings"}},"search":{"prompt":"Search endpoints, e.g. \"create a payout\""},"footer":{"socials":{"website":"https://nuvion.co","linkedin":"https://www.linkedin.com/company/nuvion-co"}},"fonts":{"heading":{"family":"Figtree","weight":800},"body":{"family":"Figtree"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","href":"https://app.nuvion.co/dashboard/settings","icon":"gauge"},{"anchor":"Status","href":"https://nuvion.statuspage.io/","icon":"circle-check"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nuvion","hasAudioNarration":false,"actualSubdomain":"nuvion","customDomains":["docs.nuvion.co"],"gitSource":{"type":"github","owner":"nuvion-core","repo":"nuvion-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b70c9ffae5051c4011af"},"entitlements":{},"buildId":"6b0e9e4e022bcac905edabc9","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"API Reference","count":28},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Core Concepts","count":9},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"Accept a Payment","count":4},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"Webhooks","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--background-light: 244 242 242}html.light .callout[data-callout-type=\"note\"],html.light .callout[data-callout-type=\"info\"]{background-color:rgb(246 220 213 / 0.45);border-color:rgb(246 220 213)}html.light .mdx-content a.link,html.light .mdx-content span[data-as=\"p\"] a,html.light .mdx-content li a{color:#c41e68;text-decoration-color:#f63080}html.light .callout[data-callout-type=\"note\"] .prose,html.light .callout[data-callout-type=\"info\"] .prose,html.light .callout[data-callout-type=\"note\"] .prose span,html.light .callout[data-callout-type=\"info\"] .prose span{color:#300402}html.light .callout[data-callout-type=\"note\"] svg,html.light .callout[data-callout-type=\"info\"] svg{color:#f63080}html.light #sidebar-content .bg-primary\\/10{background-color:rgb(246 48 128 / 0.09);box-shadow:inset 3px 0 0 #f63080}html.light #table-of-contents a.text-primary{color:#c41e68}html.light ::selection{background:#f6dcd5;color:#300402}.cl-sub{position:relative;display:flex;justify-content:flex-end;margin:0 0 24px}.cl-sub-btn{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:9999px;border:1px solid rgb(48 4 2 / 0.2);background:transparent;color:#300402;font-weight:600;font-size:14px;cursor:pointer}.cl-sub-btn:hover{background:#f6dcd5}.cl-sub-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:10;width:280px;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;border:1px solid rgb(48 4 2 / 0.15);background:#fff;box-shadow:0 8px 24px rgb(48 4 2 / 0.12);font-size:13px;color:#6b5a58;text-align:center}.cl-sub-pop{width:320px;text-align:left}.cl-sub-copy{display:flex;gap:8px}.cl-sub-copy input{flex:1;min-width:0;padding:7px 10px;border-radius:8px;border:1px solid rgb(48 4 2 / 0.2);background:#f4f2f2;color:#300402;font-size:12px}.cl-sub-copy button{padding:7px 12px;border-radius:8px;border:0;background:#300402;color:#fff;font-weight:600;font-size:13px;cursor:pointer}.cl-sub-copy button:hover{background:#f63080}.update-container{position:relative}.update-container::before{content:\"\";position:absolute;top:0;bottom:0;left:172px;width:1px;background:rgb(48 4 2 / 0.15)}.update-container::after{content:\"\";position:absolute;top:44px;left:169px;width:7px;height:7px;border-radius:9999px;background:#f63080}@media (max-width: 1023px){.update-container::before,.update-container::after{display:none}}.cl-page{max-width:64rem;margin:0 auto;padding:48px 24px 0}.update-container{max-width:64rem;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}.cl-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.cl-head h1{margin:0;font-size:40px;font-weight:800;color:#300402}.cl-head .cl-sub{margin:0}.cl-sub-text{margin:8px 0 32px;color:#6b5a58}.update-container ol{list-style:decimal;padding-left:1.25rem}.update-container ul{list-style:disc;padding-left:1.25rem}html:not(.dark) .update-container [data-component-part=\"update-content\"]{color:#3d2a28}html:not(.dark) .update-container [data-component-part=\"update-content\"] h2,html:not(.dark) .update-container [data-component-part=\"update-content\"] strong{color:#300402}html:not(.dark) .update-container [data-component-part=\"update-description\"]{color:#5a4644}html.dark .cl-head h1{color:#f4f2f2}html.dark .cl-sub-text{color:#c9bdb9}html.dark .cl-sub-btn{color:#f4f2f2;border-color:rgb(244 242 242 / 0.3)}html.dark .cl-sub-btn:hover{background:rgb(246 48 128 / 0.18)}html.dark .cl-sub-pop{background:#1f0a08;border-color:rgb(244 242 242 / 0.2);box-shadow:0 8px 24px rgb(0 0 0 / 0.5);color:#c9bdb9}html.dark .cl-sub-pop input{background:rgb(244 242 242 / 0.08);border-color:rgb(244 242 242 / 0.25);color:#f4f2f2}html.dark .cl-sub-pop form button{background:#f6dcd5;color:#300402}html.dark .cl-sub-pop form button:hover{background:#f4f2f2}html.dark .update-container::before{background:rgb(244 242 242 / 0.2)}.pin-table div:has(>div>table){min-width:0!important;max-width:100%;max-height:70vh;overflow:auto}.pin-table table th{position:sticky;top:0;z-index:2;background:#f6dcd5;color:#300402;font-weight:700;border-bottom:2px solid #300402}.pin-table table td:first-child{position:sticky;left:0;z-index:1;background:rgb(var(--background-light));font-weight:600}.pin-table table th:first-child{left:0;z-index:3}html.dark .pin-table table th{background:#3a1f1c;color:#f6dcd5;border-bottom-color:#f6dcd5}html.dark .pin-table table td:first-child{background:rgb(var(--background-dark))}.pin-table table th,.pin-table table td{padding:0.75rem 0.75rem}.pin-table table td,.pin-table table th{min-width:0}.pin-table table code{white-space:nowrap}.tryit-button{background-color:#300402!important;color:#ffffff!important}html.dark .tryit-button{background-color:#f63080!important}"}]}
{"page":{"pagePath":"errors","slug":"/errors","pageMetadata":{"title":"Errors","description":"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.","href":"/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ResponseField,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`the-error-object`,children:`The error object`}),`\n`,_jsx(_components.p,{children:`All error responses share the same structure:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You don't have enough funds for this transfer. Your available balance is 1,250.00 USD.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error_transfer_insufficient_funds\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`error`}),` on a failed request. The HTTP status code is on the response itself.`]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`A human-readable description of what went wrong and what to do next. Safe to surface to your users.`})}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`A machine-readable error code. Use this to handle specific error cases programmatically. Follows the format `,_jsx(_components.code,{children:`error_{domain}_{specific_condition}`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`validations`,type:`array`,id:`param-validations`,children:[_jsxs(_components.p,{children:[`Present only on validation errors (`,_jsx(_components.code,{children:`error_validation_error`}),`). Contains field-level details when multiple fields fail.`]}),_jsx(Expandable,{title:`validations fields`,children:_jsxs(ResponseField,{name:`[field_name]`,type:`object`,id:`param-field-name`,children:[_jsx(_components.p,{children:`An object keyed by the name of the field that failed validation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsx(_components.p,{children:`The specific validation error type for this field.`})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-1`,children:_jsx(_components.p,{children:`A human-readable description of why this field failed.`})})]})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-a-failed-request`,children:`Example: a failed request`}),`\n`,_jsxs(_components.p,{children:[`Retrieving a transfer that does not exist returns `,_jsx(_components.code,{children:`404`}),` with the error object:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.nuvion.dev/transfers/01HXYZ0099ABCDEFGHJKMNPQRS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$NUVION_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`404 Not found`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"We couldn't find that transfer. It may have been deleted or the ID might be incorrect.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error_resource_not_found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`validation-error-example`,children:`Validation error example`}),`\n`,_jsxs(_components.p,{children:[`When a request fails validation on multiple fields, the `,_jsx(_components.code,{children:`validations`}),` array provides field-level detail:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation failed for one or more fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error_validation_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"validations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error_validation_value_out_of_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The value for 'limit' should be between 1 and 100.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`http-status-codes`,children:`HTTP status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`When it occurs`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Bad Request`}),_jsx(_components.td,{children:`Malformed request or a business rule violation (e.g. insufficient funds, invalid state)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Unauthorized`}),_jsx(_components.td,{children:`Missing, invalid, or expired API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Forbidden`}),_jsx(_components.td,{children:`Valid key but insufficient permissions for this action`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Not Found`}),_jsx(_components.td,{children:`The requested resource doesn’t exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`Conflict`}),_jsx(_components.td,{children:`A uniqueness or state conflict (e.g. duplicate resource, concurrent modification)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Unprocessable Entity`}),_jsx(_components.td,{children:`Request is well-formed but fails a business rule (e.g. KYC incomplete, compliance rejection)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Too Many Requests`}),_jsx(_components.td,{children:`Rate limit exceeded`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Internal Server Error`}),_jsx(_components.td,{children:`Unexpected error on Nuvion’s end`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Service Unavailable`}),_jsx(_components.td,{children:`A Nuvion service or downstream dependency is temporarily unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`504`})}),_jsx(_components.td,{children:`Gateway Timeout`}),_jsx(_components.td,{children:`Request timed out`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`handling-errors`,children:`Handling errors`}),`\n`,_jsxs(_components.p,{children:[`Check the `,_jsx(_components.code,{children:`type`}),` field to handle specific error cases in your integration. Use the `,_jsx(_components.code,{children:`message`}),` field to surface a reason to your users.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.nuvion.dev/transfers'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` error`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` switch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'error_transfer_insufficient_funds'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Prompt the user to fund their account`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'error_auth_rate_limit_exceeded'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Back off and retry after a delay`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'error_validation_error'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Surface field-level errors from error.validations`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Log the error and surface error.message to the user`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Every error response includes an `,_jsx(_components.code,{children:`X-Request-ID`}),` header. Include this in any support request: it lets the Nuvion team trace the exact request in our systems.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`error-reference`,children:`Error reference`}),`\n`,_jsxs(_components.p,{children:[`Error types follow the format `,_jsx(_components.code,{children:`error_{domain}_{specific_condition}`}),`. The domain indicates which part of the API the error originates from.`]}),`\n`,_jsx(Heading,{level:`3`,id:`authentication-and-authorization`,children:`Authentication and authorization`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_credentials_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Missing or invalid credentials`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_credentials_revoked`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`API key has been revoked`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_permission_denied`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Insufficient permissions for this action`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_elevated_permission_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Action requires administrator permissions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_rate_limit_exceeded`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Too many requests; retry after the indicated delay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_api_version_locked`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`API access is locked to a specific version`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_api_version_not_supported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`The requested API version does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_api_version_not_available`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`The requested API version is not yet available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_api_version_deprecated`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`The requested API version has been discontinued`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_api_version_access_denied`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`No access to the requested API version`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_verification_token_not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Verification token not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_verification_token_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`Verification token has expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_verification_token_already_used`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Verification token has already been used`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_verification_token_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Verification token is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_email_verification_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Email must be verified before proceeding`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_already_enrolled`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`MFA method is already enrolled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_enrollment_not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`MFA enrollment not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_enrollment_already_completed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`MFA enrollment is already complete`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_enrollment_inactive`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`MFA method is inactive`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_permission_denied`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Insufficient permissions to manage this MFA method`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_code_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`MFA verification code is incorrect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_verification_in_progress`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`An MFA verification is already in progress`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_verification_not_in_progress`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`No MFA verification in progress`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_auth_mfa_not_enrolled`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`No MFA methods enrolled`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`validation`,children:`Validation`}),`\n`,_jsxs(_components.p,{children:[`A request that fails field validation returns `,_jsx(_components.code,{children:`422`}),` with the top-level type `,_jsx(_components.code,{children:`error_validation_error`}),`. The field-level types below appear inside the `,_jsx(_components.code,{children:`validations`}),` array of that response.`]}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_error`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`One or more fields failed validation; see `,_jsx(_components.code,{children:`validations`}),` array`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_required_field_missing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`A required field is missing from the request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_invalid_format`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`A field value has an invalid format`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_invalid_length`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`A field value is longer than the allowed length`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_email_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Email address is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_phone_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Phone number is invalid or missing country code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_date_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`Date format is invalid; use `,_jsx(_components.code,{children:`YYYY-MM-DD`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_amount_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Amount must be a positive number with up to 2 decimal places`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_value_out_of_range`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Field value falls outside the allowed range`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_invalid_id`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Resource ID is malformed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_value_not_supported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Value is not supported for this field`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_customer_location_restricted`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Operation not supported in the entity’s location`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_password_reused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Password has been used recently`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_password_weak`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Password does not meet strength requirements`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_mfa_medium_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`MFA method is not supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_mfa_entity_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Missing required entity details for this MFA method`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_date_range_month`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Date range must be within a single month`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_date_range_order`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Start date must be before or equal to end date`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_payload_too_large`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Request payload exceeds the size limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_csv_file_structure`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`CSV must include a header row and at least one data row`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_file_empty`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Uploaded file is empty`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_file_format_array`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`File content must be an array of rows`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_validation_file_no_rows`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`File contains no rows`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`entities`,children:`Entities`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_invite_resend_not_available`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`Invitation cannot be resent yet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_has_active_dependencies`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Entity has active accounts or dependencies that must be resolved first`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_invite_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`Invitation has expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_invite_already_accepted`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Invitation has already been accepted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_person_document_link_mismatch`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Document does not match the person on record`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_user_has_no_access`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`User does not have access to this entity`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_user_already_has_access`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`User already has access to this entity`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_status_due_diligence_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Entity requires additional verification`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_entity_status_not_incomplete`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Action requires an incomplete entity profile`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`kyc`,children:`KYC`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_identity_verification_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Identity could not be verified with the provided information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_document_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Uploaded document has expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_document_quality_insufficient`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Document image quality is too poor to process`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_document_type_not_accepted`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Document type is not accepted for this country`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_documents_incomplete`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Required documents are missing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_application_rejected`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`KYC application was rejected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_under_compliance_review`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Application is under compliance review`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_sanctions_check_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Sanctions check failed; contact support`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyc_enhanced_due_diligence_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Enhanced due diligence is required; Nuvion will follow up`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`kyb`,children:`KYB`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_business_verification_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Business registration could not be verified`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_tax_id_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Tax ID or EIN does not match records`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_incorporation_documents_missing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Incorporation documents are required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_beneficial_owners_missing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Beneficial owners with ≥25% ownership must be provided`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_business_type_not_supported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Business type is not supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_application_rejected`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`KYB application was rejected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_kyb_under_compliance_review`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Business application is under compliance review`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`accounts`,children:`Accounts`}),`\n`,_jsxs(Expandable,{title:`View error codes`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /accounts`}),` doesn’t return `,_jsx(_components.code,{children:`error_account_kyc_incomplete`}),`, `,_jsx(_components.code,{children:`error_account_limit_reached`}),`, `,_jsx(_components.code,{children:`error_account_type_unavailable`}),`, or `,_jsx(_components.code,{children:`error_account_already_exists`}),`. See `,_jsx(_components.a,{href:`/api-reference/accounts#create-an-account`,children:`Create an account`}),` for the errors it returns.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_kyc_incomplete`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Identity verification must be completed before creating an account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_limit_reached`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Maximum number of accounts reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_type_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Account type is not available for this entity`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_already_exists`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`An account with these settings already exists`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_already_verified`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Account is already verified`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_access_blocked`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Account access is blocked`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_status_prevents_action`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account status does not allow this action`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_balance_not_zero`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`The account’s available balance is above zero, so it can’t be deleted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_not_active`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account is not yet active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_suspended`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Account has been suspended`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_account_closed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account is closed`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`fx-quotes`,children:`FX quotes`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_fx_currency_pair_unsupported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from_currency`}),` and `,_jsx(_components.code,{children:`to_currency`}),` are the same currency`]})]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`funding-sessions`,children:`Funding sessions`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_funding_request_not_pending`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`The funding session is already in a final state, so it can’t be updated. Read its status with `,_jsx(_components.code,{children:`GET /funding-sessions/{id}`}),`.`]})]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`transfers`,children:`Transfers`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_insufficient_funds`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account does not have enough available balance`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_daily_limit_exceeded`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Transfer would exceed the daily limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_transaction_limit_exceeded`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Transfer amount exceeds the per-transaction limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_monthly_volume_exceeded`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Monthly transfer limit has been reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_account_not_active`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account is not active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_counterparty_not_approved`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Recipient has not been approved yet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_same_day_cutoff_passed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Same-day cutoff has passed; transfer will process next business day`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_outside_business_hours`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Wire transfers are only available during business hours`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_compliance_rejected`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Transfer was rejected by compliance`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_recipient_flagged`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Recipient has been flagged; contact support`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_purpose_code_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`A purpose code is required for this international transfer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_beneficiary_name_too_long`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Recipient name exceeds the character limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_network_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Payment network is temporarily unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_already_processing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Transfer is already being processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_recipient_account_closed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Recipient account is closed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_transfer_bank_returned`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Receiving bank returned the transfer; funds have been credited back`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`counterparties`,children:`Counterparties`}),`\n`,_jsxs(_components.p,{children:[`These checks run when you add payment details. The API returns them as the `,_jsx(_components.code,{children:`type`}),` of the failing field inside `,_jsx(_components.code,{children:`validations`}),`, under a `,_jsx(_components.code,{children:`422 error_validation_error`}),`. For example, an invalid IBAN returns `,_jsx(_components.code,{children:`error_counterparty_iban_invalid`}),` for the `,_jsx(_components.code,{children:`iban`}),` field.`]}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_account_number_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account number is invalid for this bank`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_routing_number_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Routing number does not match a known bank`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_iban_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`IBAN is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_swift_code_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`SWIFT/BIC code is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_duplicate_resource`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`A payment detail with these details already exists. The API reports it on the identifying field, such as `,_jsx(_components.code,{children:`account_number`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_bank_details_missing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Bank name and country are required for international transfers`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_sanctions_check_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Recipient failed a sanctions check; contact support`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_counterparty_verification_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Bank details could not be verified`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`stablecoin-wallets`,children:`Stablecoin wallets`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_generation_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Wallet address generation failed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_blockchain_not_supported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Blockchain network is not supported`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_already_exists`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`A wallet already exists for this account on this network`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_account_not_ready`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Account must be approved and active before a wallet can be issued`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_blockchain_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Blockchain network is temporarily unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_wallet_limit_reached`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Maximum number of wallet addresses reached`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`account-details-resolution`,children:`Account details resolution`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_account_not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`No account found matching the provided details`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_format_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Account number format is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_bank_not_supported`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Account lookups are not supported for this bank`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_timeout`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`504`}),_jsx(_components.td,{children:`Account lookup timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_multiple_matches`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Multiple accounts matched; provide more detail`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resolution_service_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Account lookup service is temporarily unavailable`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`card-issuing`,children:`Card issuing`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_card_us_phone_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`A card phone number was sent and is not a valid US number. The message is `,_jsx(_components.code,{children:`Only a US phone number is allowed.`})]})]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`card-acquiring`,children:`Card acquiring`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_encryption_keys_revoked`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Encryption keys have been revoked`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_encryption_keys_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Encryption keys have expired; rotate them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_decryption_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Failed to decrypt payment data`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_payment_method_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Payment method is not supported for this request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_card_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Card has expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_test_token_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Live data cannot be used in the sandbox environment`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_payment_processing_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Payment could not be completed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_payment_initialization_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Payment initialization failed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_provider_response_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Invalid response from the payment processor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_session_token_generation_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Payment session token could not be generated`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_payment_reference_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Payment reference is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_3ds_challenge_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`3DS challenge verification failed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_refund_amount_exceeds_charge`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Refund amount exceeds the original charge`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_refund_duplicate_request`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Duplicate refund request detected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_refund_processing_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Refund could not be processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_payment_already_processed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Payment has already been processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_acquiring_refund_status_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Payment is not eligible for a refund in its current status`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`webhooks`,children:`Webhooks`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_webhook_delivery_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Webhook could not be delivered after multiple attempts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_webhook_signature_invalid`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Webhook signature does not match the signing secret`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_webhook_blacklisted_health_check_failed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`A blacklisted webhook cannot be reactivated without passing the health check`})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`resources-\u0026-system`,children:`Resources \u0026 system`}),`\n`,_jsx(Expandable,{title:`View error codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resource_not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Resource does not exist or the ID is incorrect. A request to a URL that does not exist returns this error with the message “We couldn’t find that url.”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_duplicate_resource`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsxs(_components.td,{children:[`A record with this value already exists. The `,_jsx(_components.code,{children:`message`}),` says which kind of record collided. For entities, see `,_jsx(_components.a,{href:`/api-reference/entities#duplicate-messages`,children:`Duplicate messages`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_resource_expired`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`The resource expired before the required action was taken`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_operation_invalid_for_state`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Action is not allowed given the resource’s current status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_operation_event_not_enabled`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`The event isn’t enabled for this webhook`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_concurrent_modification_detected`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Resource was modified concurrently; refresh and retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_idempotency_key_mismatch`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Idempotency key reused with different parameters`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_idempotency_request_processing`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Original request is still processing; wait before retrying`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_system_internal_error`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsxs(_components.td,{children:[`Unexpected error on Nuvion’s end; reference the `,_jsx(_components.code,{children:`X-Request-ID`}),` header when contacting support`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_system_service_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Service is temporarily unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_system_timeout`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`504`}),_jsx(_components.td,{children:`Request timed out`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_system_dependency_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`A downstream dependency is temporarily unavailable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_system_maintenance`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Scheduled maintenance is in progress`})]})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Errors","description":"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.","href":"/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The error object","slug":"the-error-object","depth":2,"children":[{"title":"Example: a failed request","slug":"example-a-failed-request","depth":3,"children":[]},{"title":"Validation error example","slug":"validation-error-example","depth":3,"children":[]}]},{"title":"HTTP status codes","slug":"http-status-codes","depth":2,"children":[]},{"title":"Handling errors","slug":"handling-errors","depth":2,"children":[]},{"title":"Error reference","slug":"error-reference","depth":2,"children":[{"title":"Authentication and authorization","slug":"authentication-and-authorization","depth":3,"children":[]},{"title":"Validation","slug":"validation","depth":3,"children":[]},{"title":"Entities","slug":"entities","depth":3,"children":[]},{"title":"KYC","slug":"kyc","depth":3,"children":[]},{"title":"KYB","slug":"kyb","depth":3,"children":[]},{"title":"Accounts","slug":"accounts","depth":3,"children":[]},{"title":"FX quotes","slug":"fx-quotes","depth":3,"children":[]},{"title":"Funding sessions","slug":"funding-sessions","depth":3,"children":[]},{"title":"Transfers","slug":"transfers","depth":3,"children":[]},{"title":"Counterparties","slug":"counterparties","depth":3,"children":[]},{"title":"Stablecoin wallets","slug":"stablecoin-wallets","depth":3,"children":[]},{"title":"Account details resolution","slug":"account-details-resolution","depth":3,"children":[]},{"title":"Card issuing","slug":"card-issuing","depth":3,"children":[]},{"title":"Card acquiring","slug":"card-acquiring","depth":3,"children":[]},{"title":"Webhooks","slug":"webhooks","depth":3,"children":[]},{"title":"Resources \u0026 system","slug":"resources-\u0026-system","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nuvion","siteName":"Nuvion","title":"Errors - Nuvion","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T10:15:44.639Z","originalFileLocation":"errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nuvion\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - Nuvion\">\u003cmeta data-mint-head property=\"og:description\" content=\"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nuvion\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nuvion.co/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nuvion.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Errors\u0026amp;description=Nuvion+uses+conventional+HTTP+status+codes+and+a+consistent+error+object+to+communicate+what+went+wrong+and+how+to+resolve+it.\u0026amp;theme=84ca59c7fe35de2b059a7039\u0026amp;signature=ba42065259a5f39f4cfa7480d2c948fa9ffe0ab069abd8b213a1b53a9679a33c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Errors - Nuvion\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nuvion.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Errors\u0026amp;description=Nuvion+uses+conventional+HTTP+status+codes+and+a+consistent+error+object+to+communicate+what+went+wrong+and+how+to+resolve+it.\u0026amp;theme=84ca59c7fe35de2b059a7039\u0026amp;signature=ba42065259a5f39f4cfa7480d2c948fa9ffe0ab069abd8b213a1b53a9679a33c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nuvion/pFvDqM3siE0hHwVy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nuvion\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#300402\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nuvion.co/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nuvion.co/#organization\",\"name\":\"Nuvion\",\"url\":\"https://docs.nuvion.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nuvion/tMiP7xAqEQEfNcmw/logo.png?fit=max\u0026auto=format\u0026n=tMiP7xAqEQEfNcmw\u0026q=85\u0026s=9139fed6ee4935ad9d2d4e60a0295cd6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nuvion.co#website\",\"name\":\"Nuvion\",\"url\":\"https://docs.nuvion.co\",\"publisher\":{\"@id\":\"https://docs.nuvion.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nuvion.co/errors#webpage\",\"url\":\"https://docs.nuvion.co/errors\",\"name\":\"Errors\",\"description\":\"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\",\"dateModified\":\"2026-12-01T10:15:44.639Z\",\"isPartOf\":{\"@id\":\"https://docs.nuvion.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nuvion.co/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nuvion.co/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.nuvion.co/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors\",\"item\":\"https://docs.nuvion.co/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.nuvion.co/errors#article\",\"headline\":\"Errors\",\"name\":\"Errors\",\"description\":\"Nuvion uses conventional HTTP status codes and a consistent error object to communicate what went wrong and how to resolve it.\",\"url\":\"https://docs.nuvion.co/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nuvion.co/errors#webpage\"},\"dateModified\":\"2026-12-01T10:15:44.639Z\",\"publisher\":{\"@id\":\"https://docs.nuvion.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nuvion.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nuvion\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nuvion\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/errors.md","siteName":"Nuvion","nav":{"global":{"anchors":[{"anchor":"Dashboard","href":"https://app.nuvion.co/dashboard/settings","icon":"gauge"},{"anchor":"Status","href":"https://nuvion.statuspage.io/","icon":"circle-check"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Sandbox and testing","sidebarTitle":"Sandbox","href":"/sandbox"},{"title":"Supported currencies and payment methods","sidebarTitle":"Supported Currencies","description":"Which currencies you can hold, receive, fund and pay out in, and which rail or scheme each one uses.","href":"/supported-currencies"},{"title":"Errors","href":"/errors"},{"title":"Pagination","description":"All list endpoints use cursor-based pagination, navigated using the cursors returned in each response.","href":"/pagination"},{"title":"Versioning","href":"/versioning"}]},{"group":"Core Concepts","pages":[{"title":"Entities","href":"/core-concepts/entities"},{"title":"Accounts","href":"/core-concepts/accounts"},{"title":"Account Details","href":"/core-concepts/account-details"},{"title":"Counterparties","href":"/core-concepts/counterparties"},{"title":"Transfers","href":"/core-concepts/transfers"},{"title":"Funding sessions","sidebarTitle":"Funding Sessions","href":"/core-concepts/funding-sessions"},{"title":"FX quotes","sidebarTitle":"FX Quotes","href":"/core-concepts/fx-quotes"},{"title":"Cards","href":"/core-concepts/cards"},{"title":"Capital","href":"/core-concepts/capital"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","sidebarTitle":"Overview","href":"/webhooks/overview"},{"title":"Event Types","href":"/webhooks/event-types"}]},{"group":"Guides","pages":[{"group":"Accept a Payment","pages":[{"title":"Overview","href":"/guides/accept-a-payment"},{"title":"Account Details","href":"/guides/accept-with-account-details"},{"title":"Funding Sessions","href":"/guides/funding-session"},{"title":"Accept Payments with Interac","href":"/guides/accept-with-interac"}]},{"title":"Send a Payout","href":"/guides/send-a-payout"},{"title":"Send Within Nuvion","sidebarTitle":"Send Within Nuvion","href":"/guides/send-within-nuvion"},{"title":"Cross Currency Payouts","sidebarTitle":"Cross-Currency Payouts","href":"/guides/cross-currency-payouts"},{"title":"Stablecoins","href":"/guides/stablecoins"},{"title":"Card Issuing","href":"/guides/card-issuing"},{"title":"Recover an ID You Didn't Save","sidebarTitle":"Recover an ID","href":"/guides/recover-an-id"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Errors - Nuvion","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}