--- title: CollectionAddProductsV2UserError - GraphQL Admin description: An error that occurs during the execution of `CollectionAddProductsV2`. api_version: 2025-01 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/collectionaddproductsv2usererror md: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/collectionaddproductsv2usererror.md --- # Collection​Add​Products​V2User​Error object An error that occurs during the execution of `CollectionAddProductsV2`. ## Fields * code [Collection​Add​Products​V2User​Error​Code](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/CollectionAddProductsV2UserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [collection​Add​Products​V2](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/collectionAddProductsV2) mutation Adds products to a [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) asynchronously and returns a [`Job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) to track the operation's progress. This mutation handles large product sets efficiently by processing them in the background. You can poll the returned job using the [`job`](https://shopify.dev/docs/api/admin-graphql/latest/queries/job) query to monitor completion status. *** Note This mutation adds products in the order specified in the [`productIds`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/collectionAddProducts#arguments-productIds) argument. *** *** ## <\~> CollectionAddProductsV2UserError Mutations ### Mutated by * <\~>[collection​Add​Products​V2](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/collectionAddProductsV2) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError) interface *** ## ||-CollectionAddProductsV2UserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError)