Possible Errors per Query/Mutation — graphql-storefront-administration
This page lists every GraphQL query and mutation of the
graphql-storefront-administration module and the Error DataTypes (including
their codes and messages) that can appear in the operation’s payload
userErrors array.
Note
Only errors returned as part of the payload’s userErrors are listed here.
A failing authentication/authorization check is returned as a top-level
GraphQL error (not inside userErrors) and is therefore not part of the
tables below.
All codes are prefixed with oegqlsa.. See Error DataTypes for the
full type/field reference.
adminProduct
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
adminProducts
This operation returns no error DataTypes.
adminProductCreate
Error DataType |
Code |
Message |
|---|---|---|
|
A product with the provided ID already exists. |
|
|
The product id is invalid. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The language fields of the product with the provided ID could not be updated. |
|
|
A download file with the provided ID already exists. |
|
|
The download file was not found in the FTP directory. |
|
|
A download file with the provided ID could not be created. |
|
|
A scale price with the provided ID already exists. |
|
|
A scale price with the provided ID could not be created. |
|
|
The product was not found. |
adminProductModify
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product is a variant. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The language fields of the product with the provided ID could not be updated. |
adminProductDelete
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
A product with the provided ID could not be deleted. |
adminProductsImport
Every failing entry is returned as an AdminImportError that carries the code
and message of the original error plus the inputPosition of the entry. With
the default rollback strategy ROLLBACK_WHOLE_IMPORT exactly one
AdminImportError is returned; with ROLLBACK_FAILING_PRODUCT one
AdminImportError per failing entry is returned.
Error DataType |
Code |
Message |
|---|---|---|
|
A product with the provided ID already exists. |
|
|
The product id is invalid. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The product was not found. |
|
|
The language fields of the product with the provided ID could not be updated. |
|
|
A download file with the provided ID already exists. |
|
|
The download file was not found in the FTP directory. |
|
|
A download file with the provided ID could not be created. |
|
|
A scale price with the provided ID already exists. |
|
|
A scale price with the provided ID could not be created. |
|
|
The product was not found. |
adminProductsModify
Failing entries are returned as AdminImportError in the same way as for
adminProductsImport.
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product is a variant. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The language fields of the product with the provided ID could not be updated. |
|
|
The product was not found. |
adminProductAddVariant
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The parent product is a variant. |
|
|
The product id is invalid. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The language fields of the product with the provided ID could not be updated. |
adminVariantModify
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product is not a variant. |
|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product could not be saved. |
|
|
No language was found for the provided locale. |
|
|
The language fields of the product with the provided ID could not be updated. |
adminVariantRemove
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product is not a variant. |
|
|
A product with the provided ID could not be deleted. |
adminProductSetIcon
Error DataType |
Code |
Message |
|---|---|---|
|
The product image was not found. |
|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductRemoveIcon
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductSetThumbnail
Error DataType |
Code |
Message |
|---|---|---|
|
The product image was not found. |
|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductRemoveThumbnail
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductSetPicture
Error DataType |
Code |
Message |
|---|---|---|
|
The product image was not found. |
|
|
The product picture position is invalid. |
|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductRemovePicture
Error DataType |
Code |
Message |
|---|---|---|
|
The product picture position is invalid. |
|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductAssignCategory
Error DataType |
Code |
Message |
|---|---|---|
|
The category was not found. |
|
|
A price category cannot be assigned to a product. |
|
|
The category is already assigned to the product. |
|
|
The product was not found. |
adminProductUnassignCategory
Error DataType |
Code |
Message |
|---|---|---|
|
The category was not found. |
|
|
The category is not assigned to the product. |
|
|
The product was not found. |
adminProductAddAttribute
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The attribute was not found. |
|
|
The product already has this attribute assigned. |
adminProductRemoveAttribute
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The attribute was not found. |
|
|
The product does not have this attribute assigned. |
adminProductModifyAttribute
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The attribute was not found. |
|
|
The product does not have this attribute assigned. |
adminProductAssignManufacturer
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The manufacturer was not found. |
|
|
The product could not be saved. |
adminProductUnassignManufacturer
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The product could not be saved. |
adminProductAssignToSubshop
This operation is only available in the Enterprise Edition.
Error DataType |
Code |
Message |
|---|---|---|
|
The shop is not a subshop of the current shop. |
|
|
The product was not found. |
|
|
The shop was not found. |
|
|
The product is already assigned to the subshop. |
adminProductUnassignFromSubshop
This operation is only available in the Enterprise Edition.
Error DataType |
Code |
Message |
|---|---|---|
|
The shop is not a subshop of the current shop. |
|
|
The product was not found. |
|
|
The shop was not found. |
|
|
The product is not assigned to the subshop. |
adminProductAssignSelectionList
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The selection list was not found. |
|
|
The selection list is already assigned to the product. |
|
|
The selection list could not be assigned to the product. |
adminProductUnassignSelectionList
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The selection list was not found. |
|
|
The selection list is not assigned to the product. |
adminProductModifyMetaData
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The category was not found. |
adminProductModifySeoUrl
Error DataType |
Code |
Message |
|---|---|---|
|
The product was not found. |
|
|
The main SEO URL cannot be edited when the product has category, vendor or manufacturer assignments. |
|
|
A related object id is required for this SEO type. |
|
|
The related object is not assigned to the product. |
|
|
The category was not found. |
adminAttribute
Error DataType |
Code |
Message |
|---|---|---|
|
The attribute was not found. |
adminAttributes
This operation returns no error DataTypes.
adminAttributeCreate
Error DataType |
Code |
Message |
|---|---|---|
|
An attribute with the provided ID already exists. |
|
|
An attribute with the provided ID could not be created. |
|
|
The attribute was not found. |
adminAttributeModify
Error DataType |
Code |
Message |
|---|---|---|
|
The attribute was not found. |
|
|
An attribute with the provided ID could not be updated. |
adminAttributeDelete
Error DataType |
Code |
Message |
|---|---|---|
|
The attribute was not found. |
|
|
An attribute with the provided ID could not be deleted. |
adminDownloadFileCreate
Error DataType |
Code |
Message |
|---|---|---|
|
A download file with the provided ID already exists. |
|
|
The download file was not found in the FTP directory. |
|
|
A download file with the provided ID could not be created. |
|
|
The download file was not found. |
adminDownloadFileModify
Error DataType |
Code |
Message |
|---|---|---|
|
The download file was not found. |
|
|
The download file was not found in the FTP directory. |
|
|
A download file with the provided ID could not be updated. |
adminDownloadFileDelete
Error DataType |
Code |
Message |
|---|---|---|
|
The download file was not found. |
|
|
You cannot delete this file, as long as it has valid downloads. |
adminScalePriceCreate
Error DataType |
Code |
Message |
|---|---|---|
|
A scale price with the provided ID already exists. |
|
|
A scale price with the provided ID could not be created. |
|
|
The scale price was not found. |
adminScalePriceModify
Error DataType |
Code |
Message |
|---|---|---|
|
The scale price was not found. |
|
|
A scale price with the provided ID could not be updated. |
adminScalePriceDelete
Error DataType |
Code |
Message |
|---|---|---|
|
The scale price was not found. |
adminState
Error DataType |
Code |
Message |
|---|---|---|
|
The state was not found. |
adminStateCreate
Error DataType |
Code |
Message |
|---|---|---|
|
The state id is invalid. |
|
|
The state ISO alpha-2 code is invalid. |
|
|
The country was not found. |
|
|
A state with the provided ID already exists. |
|
|
A state with the provided ID could not be created. |
|
|
The state was not found. |
adminStateModify
Error DataType |
Code |
Message |
|---|---|---|
|
The state ISO alpha-2 code is invalid. |
|
|
The country was not found. |
|
|
The state was not found. |
|
|
A state with the provided ID could not be updated. |
adminStateDelete
Error DataType |
Code |
Message |
|---|---|---|
|
The state was not found. |
|
|
A state with the provided ID could not be deleted. |