--- title: CommentNotSpamUserErrorCode - GraphQL Admin description: Possible error codes that can be returned by `CommentNotSpamUserError`. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/commentnotspamusererrorcode md: https://shopify.dev/docs/api/admin-graphql/latest/enums/commentnotspamusererrorcode.md --- # Comment​Not​Spam​User​Error​Code enum Possible error codes that can be returned by `CommentNotSpamUserError`. ## Valid values * NOT\_​FOUND The record with the ID used as the input value couldn't be found. *** ## Fields * [Comment​Not​Spam​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/CommentNotSpamUserError#field-CommentNotSpamUserError.fields.code) OBJECT An error that occurs during the execution of `CommentNotSpam`. *** ## Map ### Fields with this enum * <-|[Comment​Not​Spam​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/CommentNotSpamUserError#field-CommentNotSpamUserError.fields.code)