--- title: UserError - Partner API description: Represents an error in a mutation. api_version: 2025-10 api_name: partner type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/partner/latest/objects/UserError' md: 'https://shopify.dev/docs/api/partner/latest/objects/UserError.md' --- # User​Error object Represents an error in a mutation. ## Fields * field [\[String!\]](https://shopify.dev/docs/api/partner/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/partner/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [app​Credit​Create](https://shopify.dev/docs/api/partner/latest/mutations/appCreditCreate) mutation Allows an app to create a credit for a shop that can be used towards future app purchases. This mutation is only available to Partner API clients that have been granted the `View financials` permission. *** ## <\~> UserError Mutations ### Mutated by * <\~>[app​Credit​Create](https://shopify.dev/docs/api/partner/latest/mutations/appCreditCreate)