Skip to main content

Error codes

When an API error includes an error.code value, use this reference to decide whether to correct request data, satisfy a precondition, refresh resource state, or retry the same request. For the full error response shape, HTTP status guidance, type, cause, and fix_code fields, see Errors.

Applications

Error codeWhereAction
application_create_failedCreate applicationThe application was not created. Review the request, retry once, then contact support with the request id if it still fails.
application_lookup_failedLookup applicationApplication details could not be read. Retry the same request; contact support with the request id if it persists.
application_update_failedUpdate applicationThe application was not changed. Retry the same request; contact support with the request id if it persists.

API keys

Error codeWhereAction
invalid_secret_key_requestPage, lookup, update, revoke, lookup usageCorrect the key id, pagination values, or other documented fields before retrying.
secret_key_generation_failedGenerateNo usable key token was returned. Submit a new generation request; contact support if it continues to fail.
secret_key_not_foundLookup, update, revoke, lookup usageVerify the key ID.
secret_key_read_failedPage, lookup, update, revoke, lookup usageKey data could not be read. Retry the same request; contact support with the request id if it persists.
secret_key_request_failedSecret key endpointsThe request failed for an unclassified reason. Retry once, then contact support with the request id if it persists.

Chimes

Error codeWhereAction
chime_broadcast_already_canceledCancel broadcastThe broadcast is already canceled. Treat its current state as the result; no retry is needed.
chime_broadcast_already_completedCancel broadcastThe broadcast already completed and can no longer be canceled.
chime_broadcast_cancel_failedCancel broadcastFetch the broadcast before retrying; retry only if its current state still allows cancellation.
chime_broadcast_failedBroadcast ChimesTransient broadcast creation failure. Retry the same request with the same idempotency key.
chime_broadcast_lookup_failedLookup broadcastThe broadcast could not be read. Retry the same request; contact support with the request id if it persists.
chime_broadcast_not_foundLookup, cancel broadcastVerify the broadcast ID.
chime_lookup_failedLookup ChimeThe Chime could not be read. Retry the same request; contact support with the request id if it persists.
chime_not_foundLookup ChimeVerify the Chime ID.
chime_page_failedPage ChimesThe Chime page could not be read. Retry the same page request.
chime_schedule_already_canceledCancel scheduleThe schedule is already canceled. Treat its current state as the result; no retry is needed.
chime_schedule_already_completedCancel scheduleThe scheduled send already completed and can no longer be canceled.
chime_schedule_cancel_failedCancel scheduleFetch the schedule before retrying; retry only if its current state still allows cancellation.
chime_schedule_lookup_failedLookup scheduleThe schedule could not be read. Retry the same request; contact support with the request id if it persists.
chime_schedule_not_foundLookup, cancel scheduleVerify the schedule ID.
chime_schedule_failedSchedule ChimeTransient schedule creation failure. Retry the same request with the same idempotency key.
chime_send_failedSend ChimeTransient send failure. Retry the same request with the same idempotency key.
email_message_unsafeSend ChimeSupplied email content failed safety validation. Update the sender, headers, links, text, or HTML before retrying.
email_recipient_suppressedSend ChimeThe email recipient is suppressed from delivery. Use a different recipient or resolve the suppression first.
invalid_recipientSend ChimeThe recipient did not resolve to a supported SMS or email address. Fix the inline contact or customer record.
invalid_chime_broadcast_requestBroadcast ChimesCorrect the audience or message content before retrying.
invalid_chime_requestSend ChimeCorrect the recipient or message content before retrying.
invalid_chime_schedule_requestSchedule ChimeCorrect the recipient, message content, or delivery time before retrying.
message_template_archivedSend, Schedule, BroadcastThe stored template is archived. Use an active template or create a replacement.
message_template_attachments_unsupportedSend, Schedule, BroadcastThe email template rendered attachments, but Chimes cannot deliver template attachments yet. Remove attachments before sending.
message_template_channel_mismatchSend, Schedule, BroadcastThe stored template channel does not match the recipient transport. Use an SMS template for SMS recipients or an email template for email recipients.
message_template_email_subject_emptySend, Schedule, BroadcastThe email template rendered an empty subject. Update the template or variables.
message_template_email_text_emptySend, Schedule, BroadcastThe email template rendered an empty text body. Update the template or variables.
message_template_email_unsafeSend, Schedule, BroadcastRendered email content failed Chime safety validation. Update template content, links, headers, sender, or variables.
message_template_id_requiredSend, Schedule, Broadcastmessage_template.template_id is missing or blank. Provide the stored template id.
message_template_not_foundSend, Schedule, BroadcastNo visible template matched message_template.template_id. Verify the id and application.
message_template_not_publishedSend, Schedule, BroadcastThe stored template has no published version. Publish it before using it for sends.
message_template_render_too_longSend, Schedule, BroadcastRendered content exceeds the transport limit. Shorten the template or variables.
message_template_render_unsafeSend, Schedule, BroadcastThe template renderer rejected unsafe email output. Update the template or variables.
message_template_requiredSend, Schedule, BroadcastA stored template reference was expected but omitted. Provide message_template with template_id.
message_template_sms_emptySend, Schedule, BroadcastThe SMS template rendered no body text. Update the template or variables.
message_template_variables_invalidSend, Schedule, BroadcastVariables do not match the published template contract. Supply required variables with valid types.
missing_message_contentSend, Schedule, BroadcastNo content source matched the recipient transport. Provide full_message, email, or message_template as appropriate.
mixed_message_contentSend, Schedule, BroadcastThe request mixed SMS and email content. Provide one content source for the resolved transport.

Customers

Error codeWhereAction
customer_not_foundLookup customerVerify the customer_id.

File APIs

Direct uploads and file access

Error codeWhereAction
empty_fileUpload fileSupply a file containing at least one byte.
file_api_unavailableFile endpointsA required file operation is temporarily unavailable. Retry later.
file_content_type_not_allowedUpload fileUse a MIME type allowed for the selected purpose.
file_contents_unavailableDownload file contentsThe stored file cannot be read. Contact support if the error persists.
file_extension_not_allowedUpload fileUse a filename extension allowed for the selected purpose.
file_has_live_referencesDelete fileRemove live Inttegro references before deleting the file.
file_metadata_unavailableFile endpointsFile metadata is temporarily unavailable. Retry later.
file_not_foundLookup, download, deleteVerify the file ID.
file_operation_failedFile endpointsThe operation could not complete. Retry later; contact support if it persists.
file_purpose_not_allowedUpload fileUse one of the documented file purposes.
file_row_limit_exceededUpload fileReduce a product-import CSV to no more than 10,000 data rows.
file_schema_mismatchUpload fileMake the product-import CSV match the documented column schema.
file_storage_encoding_unsupportedDownload file contentsThe stored representation cannot be delivered. Contact support.
file_too_largeUpload fileReduce the file to the selected purpose's size limit.
idempotency_key_conflictUpload fileUse the original upload input with this key or choose a new key.
idempotency_key_in_progressDelete fileThe original deletion is still processing. Retry with the same key.
idempotency_key_unsupportedUpload fileSend the retry key in the Idempotency-Key header, not a form field.
idempotency_storage_unavailableDelete fileRetry the deletion later with the same key.
image_metadata_unreadableUpload fileSupply a valid image whose dimensions can be read.
storage_quota_exceededUpload fileFree file capacity or request a higher allocation.
Error codeWhereAction
file_contents_unavailableOpen file linkThe stored file cannot be read. Contact support if the error persists.
file_link_access_deniedOpen file linkOpen the link from an allowed origin and client address.
file_link_access_limit_reachedOpen file linkCreate a new link if the recipient still needs access.
file_link_already_existsCreate file linkSubmit a new create request; contact support if the error repeats.
file_link_delivery_invalidCreate or open file linkCorrect the delivery, download, origin, or CIDR settings.
file_link_expiredOpen file linkCreate a new link with a future expiry.
file_link_inactiveOpen file linkCreate a new link if access should resume.
file_link_not_foundCreate, lookup, revoke, openVerify the file-link ID or use the complete URL returned by create.
file_link_operation_failedFile-link endpointsThe operation could not complete. Retry later; contact support if it persists.
file_link_purpose_not_allowedCreate file linkUse file links only for a linkable file purpose.
file_metadata_unavailableFile-link endpointsFile metadata is temporarily unavailable. Retry later.
file_storage_encoding_unsupportedOpen file linkThe stored representation cannot be delivered. Contact support.
idempotency_key_conflictRevoke file linkUse the original revoke input with this key or choose a new key.
idempotency_key_in_progressRevoke file linkThe original revocation is still processing. Retry with the same key.
idempotency_storage_unavailableRevoke file linkRetry the revocation later with the same key.

Upload requests

Error codeWhereAction
empty_fileFulfill upload requestSupply a file containing at least one byte.
file_api_unavailableUpload-request endpointsA required file operation is temporarily unavailable. Retry later.
file_content_type_not_allowedFulfill upload requestUpload a MIME type allowed by the request and its purpose.
file_extension_not_allowedFulfill upload requestUpload a filename extension allowed by the request and its purpose.
file_metadata_unavailableUpload-request endpointsFile metadata is temporarily unavailable. Retry later.
file_name_mismatchFulfill upload requestUse the exact filename required by the request.
file_row_limit_exceededFulfill upload requestReduce a product-import CSV to no more than 10,000 data rows.
file_schema_mismatchFulfill upload requestMake the product-import CSV match the documented column schema.
file_size_mismatchFulfill upload requestUpload a file with the exact required byte size.
file_too_largeFulfill upload requestReduce the file to the request's maximum size.
file_too_smallFulfill upload requestUpload a file that meets the request's minimum size.
idempotency_key_conflictCreate or cancel upload requestUse the original input with this key or choose a new key.
idempotency_key_in_progressCreate or cancel upload requestThe original action is still processing. Retry with the same key.
idempotency_storage_unavailableCreate or cancel upload requestRetry the action later with the same key.
image_metadata_unreadableFulfill upload requestSupply a valid image whose dimensions can be read.
storage_quota_exceededFulfill upload requestFree file capacity or request a higher allocation.
upload_request_already_existsCreate upload requestSubmit a new create request; contact support if the error repeats.
upload_request_attempt_limit_reachedFulfill upload requestCreate a replacement request if another upload should be allowed.
upload_request_expiredFulfill upload requestCreate a replacement request with a future expiry.
upload_request_expiry_invalidCreate upload requestSet expires_at to a future RFC 3339 timestamp.
upload_request_inactiveFulfill upload requestCreate a replacement request if uploading should resume.
upload_request_not_foundLookup, cancel, fulfillVerify the ID or use the complete URL returned by create.
upload_request_operation_failedCreate, lookup, page, cancelRetry later; contact support if the error persists.
upload_request_policy_invalidCreate upload requestKeep constraints within the selected purpose and use valid size relationships.
upload_request_state_conflictCancel upload requestRefresh the request and act only while its current state permits cancellation.
upload_request_upload_failedFulfill upload requestRetry later if attempts remain; contact support if the error persists.

Financial accounts

Error codeWhereAction
fa_is_payout_destDisconnect a financial accountRemove or replace this account as a payout destination before disconnecting it.

Message templates

Error codeWhereAction
message_template_archivedUpdate, Publish, Render previewUse an active template or create a replacement.
message_template_create_failedCreateTransient create failure. Retry the same request.
message_template_invalidCreate, UpdateUpdate the template fields, channel content, or variable declarations.
message_template_not_foundUpdate, Publish, Archive, Lookup, Page, Render previewVerify the template ID.
message_template_not_publishedRender previewPublish the template before rendering the published version or using it in Chimes.
message_template_render_invalidRender previewFix invalid variables or template syntax.
message_template_render_too_longRender previewShorten the template or variable values so rendered content fits the transport limit.
message_template_render_unsafeRender previewUpdate rendered email content, links, headers, sender, or variables so the safety scan passes.
message_template_request_invalidAll message template endpointsCorrect the request shape, unknown fields, or missing required values.
message_template_update_failedUpdate, Publish, ArchiveTransient mutation failure. Retry the same request.

One-time passwords

Error codeWhereAction
invalid_otp_initiation_requestInitiate OTPCorrect the recipient, message, token, duration, or gateway fields before retrying.
otp_already_verifiedVerify OTPTreat the transaction as verified; do not submit another token.
otp_idempotency_key_already_usedInitiate OTPLook up the existing transaction. Use a new key only for a deliberate new OTP transaction.
otp_initiation_failedInitiate OTPThe transaction did not start successfully. Retry the same request.
otp_lookup_failedLookup OTPThe transaction could not be read. Retry the same request; contact support with the request id if it persists.
otp_max_verification_attempts_exceededVerify OTPStart a new transaction; the current transaction cannot accept another token.
otp_token_size_invalidInitiate OTPSet token_size to a value from 5 through 10.
otp_transaction_canceledVerify OTPStart a new transaction; canceled transactions cannot accept verification attempts.
otp_transaction_expiredVerify OTPStart a new transaction and verify its token before it expires.
otp_transaction_not_foundLookup OTPVerify the transaction ID.
otp_verification_failedVerify OTPFetch the transaction before deciding whether another attempt is allowed; contact support if the failure persists.

Orders

Error codeWhereAction
confirmation_already_satisfiedConfirm paymentFetch the order and inspect the latest payment status; the confirmation has already completed.
confirmation_bad_tokenConfirm paymentAsk the customer for the latest token and retry the confirmation.
confirmation_expiredConfirm paymentRequest a new confirmation before retrying.
confirmation_failedConfirm paymentVerify the token from the active confirmation request and retry.
confirmation_max_reachedConfirm paymentRequest a new confirmation; the current request has no remaining attempts.
confirmation_not_foundConfirm paymentVerify that the confirmation belongs to this order payment.
confirmation_not_neededRequest confirmationRefresh order state; this payment does not currently require customer confirmation.
confirmation_pendingPay, Confirm paymentWait for the customer to finish confirmation or send a new confirmation request before retrying.
confirmation_request_failedCreate, Pay, Request confirmationTransient confirmation delivery failure. Retry the same request.
customer_not_foundPageVerify the customer filter before paging orders.
draft_mode_order_has_no_invoiceSend invoiceFinalize the draft order before sending its hosted invoice link.
invalid_line_itemsCreate, UpdateFix the line_items payload and retry.
order_canceledUpdate, CancelFetch the order state; canceled orders cannot be changed or canceled again.
order_completedUpdate, CompleteCompleted orders cannot be changed or completed again.
order_customer_invalidCreate, PayProvide a valid customer_id or valid customer_data.
order_delivery_auth_failedSend invoice, Send receiptRetry with valid Inttegro API credentials for the order application.
order_delivery_contact_missingSend invoice, Send receiptAdd an email address or phone number to the order customer before sending the document link.
order_delivery_failedSend invoice, Send receiptDelivery failed for every available contact method. Retry the same request.
order_expiredUpdate, CancelUse an order that is still active, or create a new order.
order_finalize_failedCreateThe order was created but finalization did not complete. Fetch the order before deciding whether to retry.
order_finalize_requiredUpdateInclude an explicit finalize decision when changing seal-sensitive fields.
order_line_item_limit_exceededCreate, UpdateReduce the order to 64 line items or fewer. Contact support if you need this limit increased.
order_not_foundPay, Confirm payment, Request confirmation, Update, Finalize, Complete, Lookup, Cancel, Lookup invoice, Send invoice, Send receiptVerify the order_id.
order_not_payablePayFetch the latest order state; only payable orders can accept payment.
order_paidPay, Update, CompleteFetch the order state; paid orders cannot be paid or edited again.
order_payment_create_failedCreateTransient payment creation failure. Retry the same request.
order_payment_execution_failedCreateThe order was created, but immediate payment did not complete. Fetch the order and payment before retrying payment.
order_payment_missingPay, CompleteAttach or create the payment required by this operation before retrying.
order_total_limit_exceededCreate, UpdateReduce the order total below the currency limit. Contact support if you need this limit increased.
order_payment_not_paidCompleteComplete the order only after its payment succeeds or is marked paid out of band.
order_payment_touchedUpdateThe payment has entered confirmation or execution; avoid changing payment-sensitive order fields.
order_receipt_number_invalidCreate, UpdateProvide a non-empty receipt number that differs from the current value.
order_receipt_missingSend receiptSend a receipt only after the order is paid.
order_terminatedPay, CancelUse a non-terminal order; paid, completed, canceled, or expired orders cannot use this operation.
order_update_emptyUpdateInclude at least one order field to change.
orders_page_unavailablePageTransient page loading failure. Retry the same request.
payment_cant_pay_offlinePay, CompleteMark paid out of band only when the payment supports that action in its current state.
payment_method_invalidCreate, Pay, UpdateUse an active payment method that belongs to the order customer.
payment_refresh_failedCreate, Pay, Confirm paymentTransient payment refresh failure. Retry the same request after fetching the latest order state.
payment_transition_conflictCreate, Pay, Confirm payment, CompleteAnother operation updated or claimed the payment first. Commerce stopped this request to prevent a duplicate attempt or an overwrite of a newer result. Fetch the latest order or payment before deciding what to do next.
price_archivedCreateUse an active price or create an inline price for the order.
price_inactiveCreateActivate the price or choose an active price.
price_not_foundCreateVerify the price_id in the line item.
product_archivedCreateUse an active product or create the line item inline.
product_not_foundCreateVerify the product_id in the line item.
purchase_intent_already_usedCreateCreate the order from a purchase intent that has not already been claimed.
unprocessable_requestLookup, UpdateRefresh state and retry after checking the request parameters.

Handling payment_transition_conflict

This HTTP 409 means Commerce rejected a payment transition because another operation reached the payment first. It is not a payment decline and does not prove that the payment failed. Read the latest payment state, then stop if it is paid, follow next_action if customer action is required, wait if processing is still underway, or offer a deliberate new attempt if the latest state is failed. See the complete error reference for the decision guide and example response.

Payment methods

Error codeWhereAction
payment_method_already_activeActivate, UpdateThe payment method is already active; no activation retry is needed.
payment_method_already_archivedArchive, UpdateThe payment method is already archived; no archive retry is needed.
payment_method_already_inactiveDeactivate, UpdateThe payment method is already inactive; no deactivation retry is needed.
payment_method_archivedActivate, Archive, Deactivate, UpdateUnarchive the payment method before updating or reusing it.
payment_method_conflicting_state_updatesUpdateSend only one state transition in a single update request.
payment_method_inactivePayment method mutationsActivate the payment method before reusing it.
payment_method_no_updatesUpdateInclude at least one supported field to change.
payment_method_not_archivedUnarchive, UpdateOnly archived payment methods can be unarchived.
payment_method_not_foundLookup, Update, Archive, Unarchive, Activate, DeactivateVerify the payment_method_id.
payment_method_owner_address_country_requiredUpdateInclude owner.address.country when adding an owner address.

Purchase intents

Error codeWhereAction
invalid_purchase_intent_quantity_rangeCreate, UpdateSet the minimum quantity to at least 1 and the maximum quantity to at least the minimum.
purchase_intent_already_usedCancel, Create orderThe single-use Buy link has already created an order. Use that order or create a new purchase intent.
purchase_intent_invalidLookup, UpdateReplace the purchase intent because its configured price no longer belongs to its product.
purchase_intent_not_foundLookup, Page, Update, CancelVerify the purchase intent ID.
purchase_intent_price_not_foundCreateVerify price_id and choose a price from your catalog.
purchase_intent_price_product_mismatchCreateChoose a price that belongs to the selected product.
purchase_intent_price_unavailableCreate, Lookup, Page, UpdateUse or restore an active, unarchived price; replace the purchase intent if its configured price cannot be used.
purchase_intent_product_not_foundCreateVerify product_id and choose a product from your catalog.
purchase_intent_product_unavailableCreate, Lookup, Page, UpdateUse or restore a product available for sale; replace the purchase intent if its product cannot be used.

Prices

Error codeWhereAction
cannot_change_price_amountUpdateCreate a new price when the amount or currency needs to change.
cannot_change_product_idUpdateCreate a new price for a different product association.
default_price_cannot_deactivateDeactivateSet another default unit price on the product before deactivating this price.
price_already_activeActivateThe price is already active; no activation retry is needed.
price_already_archivedArchiveThe price is already archived; no archive retry is needed.
price_already_inactiveDeactivateThe price is already inactive; no deactivation retry is needed.
price_archivedActivate, DeactivateUse a non-archived price or create a replacement.
price_create_failedCreateTransient price creation failure. Retry the same request.
price_not_foundLookup, Update, Activate, Deactivate, ArchiveVerify the price_id.
product_not_foundCreateVerify the product_id before creating the price.

Products

Error codeWhereAction
cannot_clear_field_once_setUpdateReplace the field with a new value instead of clearing it.
cannot_update_immutable_fieldUpdateRemove immutable fields such as id, app_id, created_at, and type from the request.
invalid_product_typeUpdateUse a supported product type.
product_add_price_failedAdd priceTransient price attachment failure. Retry the same request.
product_already_archivedArchiveThe product is already archived; no archive retry is needed.
product_already_publishedPublishThe product is already published; no publish retry is needed.
product_already_unpublishedUnpublishThe product is already unpublished; no unpublish retry is needed.
product_archivedAdd price, Set default unit priceUnarchive or recreate the product before changing prices.
product_not_foundLookup, Add price, Set default unit price, Update, Publish, Unpublish, ArchiveVerify the product_id.

Refunds

Error codeWhereAction
invalid_refundCreateCorrect the refund request parameters and try again.
refund_amount_exceeds_line_itemCreateReduce refund_amount to the selected line item's remaining refundable amount.
refund_cancel_failedCancelFetch the refund, then retry the same idempotent request with backoff only if it is still pending.
refund_cannot_cancelCancelFetch the latest refund. Only a pending refund that has not started processing can be canceled.
refund_capacity_changedCreateAnother refund changed the remaining refundable amount. Fetch current refunds and recalculate before retrying.
refund_create_failedCreateRetry the same idempotent request with backoff.
refund_currency_mismatchCreateUse the currency recorded on each selected order line item.
refund_customer_unavailableCreateRefund an order that has an owning customer, or contact support if the customer should be present.
refund_duplicate_line_itemCreateInclude each order_line_item_id only once.
refund_insufficient_merchant_balanceCreateWait until enough merchant funds are available before retrying.
refund_line_item_not_foundCreateVerify every order_line_item_id belongs to the specified order.
refund_merchant_balance_unavailableCreateRetry after merchant funds become available; contact support if the balance should already be usable.
refund_not_foundLookup, CancelVerify refund_id.
refund_order_not_foundCreateVerify order_id.
refund_order_not_paidCreateWait until the order payment succeeds before creating a refund.
refund_original_payment_method_unavailableCreateContact support to determine whether another refund route is available.
refund_page_unavailablePageRetry the same request with backoff.
refund_paid_allocation_unavailableCreateContact support because the paid amount cannot be assigned safely to the selected line items.