--- title: CommentSpamUserError - GraphQL Admin description: An error that occurs during the execution of `CommentSpam`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/CommentSpamUserError md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/CommentSpamUserError.md --- # Comment​Spam​User​Error object An error that occurs during the execution of `CommentSpam`. ## Fields * code [Comment​Spam​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/unstable/enums/CommentSpamUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [comment​Spam](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/commentSpam) mutation Marks a comment as spam. *** ## <\~> CommentSpamUserError Mutations ### Mutated by * <\~>[comment​Spam](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/commentSpam) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError) interface *** ## ||-CommentSpamUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError)