--- title: OrderInvoiceSendUserErrorCode - GraphQL Admin description: Possible error codes that can be returned by `OrderInvoiceSendUserError`. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/orderinvoicesendusererrorcode md: https://shopify.dev/docs/api/admin-graphql/latest/enums/orderinvoicesendusererrorcode.md --- # Order​Invoice​Send​User​Error​Code enum Possible error codes that can be returned by `OrderInvoiceSendUserError`. ## Valid values * ORDER\_​INVOICE\_​SEND\_​UNSUCCESSFUL An error occurred while sending the invoice. *** ## Fields * [Order​Invoice​Send​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderInvoiceSendUserError#field-OrderInvoiceSendUserError.fields.code) OBJECT An error that occurs during the execution of `OrderInvoiceSend`. *** ## Map ### Fields with this enum * <-|[Order​Invoice​Send​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderInvoiceSendUserError#field-OrderInvoiceSendUserError.fields.code)