--- title: OnlineStoreThemeFilesUserErrors - GraphQL Admin description: User errors for theme file operations. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/onlinestorethemefilesusererrors md: https://shopify.dev/docs/api/admin-graphql/latest/objects/onlinestorethemefilesusererrors.md --- # Online​Store​Theme​Files​User​Errors object Requires The user needs write\_themes and an exemption from Shopify to modify theme files. User errors for theme file operations. ## Fields * code [Online​Store​Theme​Files​User​Errors​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/OnlineStoreThemeFilesUserErrorsCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The path to the input field that caused the error. * filename [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The filename of the theme file. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [theme​Files​Copy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesCopy) mutation Copy theme files. Copying to existing theme files will overwrite them. * [theme​Files​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesDelete) mutation Deletes a theme's files. * [theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert) mutation Create or update theme files. *** ## <\~> OnlineStoreThemeFilesUserErrors Mutations ### Mutated by * <\~>[theme​Files​Copy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesCopy) * <\~>[theme​Files​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesDelete) * <\~>[theme​Files​Upsert](https://shopify.dev/docs/api/admin-graphql/latest/mutations/themeFilesUpsert) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError) interface *** ## ||-OnlineStoreThemeFilesUserErrors Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)