Package com.commercetools.api.models.error
package com.commercetools.api.models.error
-
ClassDescriptionReturned when the anonymous ID is being used by another resource.AnonymousIdAlreadyInUseErrorBuilder Example to create an instance using the builder patternReturned when an Associate is missing a Permission on a B2B resource.AssociateMissingPermissionErrorBuilder Example to create an instance using the builder patternReturned when the
name
of the AttributeDefinition conflicts with an existing Attribute.AttributeDefinitionAlreadyExistsErrorBuilder Example to create an instance using the builder patternReturned when thetype
is different for an AttributeDefinition using the samename
in multiple Product Types.AttributeDefinitionTypeConflictErrorBuilder Example to create an instance using the builder patternReturned when an AttributeDefinition does not exist for an Attributename
.AttributeNameDoesNotExistErrorBuilder Example to create an instance using the builder patternRepresents errors related to authentication and authorization in a format conforming to the OAuth 2.0 specification.AuthErrorResponseBuilder Example to create an instance using the builder patternReturned when a server-side problem is caused by scaling infrastructure resources.BadGatewayErrorBuilder Example to create an instance using the builder patternReturned when the request conflicts with the current state of the involved resources.ConcurrentModificationErrorBuilder Example to create an instance using the builder patternReturned when the request results in too much data being returned from the API.ContentTooLargeErrorBuilder Example to create an instance using the builder patternReturned when a Cart or an Order in a Store references a country that is not included in the countries configured for the Store.CountryNotConfiguredInStoreErrorBuilder Example to create an instance using the builder patternReturned when the Cart contains a Discount Code with a DiscountCodeState other thanMatchesCart
.DiscountCodeNonApplicableErrorBuilder Example to create an instance using the builder patternReturned when theUnique
AttributeConstraint criteria are not met during an Update Product request.DuplicateAttributeValueErrorBuilder Example to create an instance using the builder patternReturned when theCombinationUnique
AttributeConstraint criteria are not met during an Update Product request.DuplicateAttributeValuesErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.DuplicateEnumValuesErrorBuilder Example to create an instance using the builder patternReturned when a field value conflicts with an existing value causing a duplicate.DuplicateFieldErrorBuilder Example to create an instance using the builder patternReturned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.DuplicateFieldWithConflictingResourceErrorBuilder Example to create an instance using the builder patternReturned when a Price key conflicts with an existing key.DuplicatePriceKeyErrorBuilder Example to create an instance using the builder patternReturned when a Price scope conflicts with an existing one during an Update Product request.DuplicatePriceScopeErrorBuilder Example to create an instance using the builder patternReturned when the given Price scope conflicts with the Price scope of an existing Standalone Price.DuplicateStandalonePriceScopeErrorBuilder Example to create an instance using the builder patternReturned when a Product Variant value conflicts with an existing one during an Update Product request.DuplicateVariantValuesErrorBuilder Example to create an instance using the builder patternReturned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.EditPreviewFailedErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.EnumKeyAlreadyExistsErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.EnumKeyDoesNotExistErrorBuilder Example to create an instance using the builder patternReturned when an enum value cannot be removed from an Attribute as it is being used by a Product.EnumValueIsUsedErrorBuilder Example to create an instance using the builder patternReturned when during an order update of AttributeEnumType or AttributeLocalizedEnumType the new enum values do not match the existing ones.EnumValuesMustMatchErrorBuilder Example to create an instance using the builder patternErrorByExtension Example to create an instance using the builder patternErrorByExtensionBuilder Example to create an instance using the builder patternRepresents a single error.ErrorObjectBuilderBase representation of an error response containing common fields to all errors.ErrorResponseBuilder Example to create an instance using the builder patternReturned when the response from the API Extension could not be parsed successfully (such as a500
HTTP status code, or an invalid JSON response).ExtensionBadResponseErrorBuilder Example to create an instance using the builder patternExtensionError Example to create an instance using the builder patternExtensionErrorBuilder Example to create an instance using the builder patternReturned when the API Extension does not respond within the time limit, or could not be reached.ExtensionNoResponseErrorBuilder Example to create an instance using the builder patternReturned when the predicate defined in the ExtensionTrigger could not be evaluated due to a missing field.ExtensionPredicateEvaluationFailedErrorBuilder Example to create an instance using the builder patternReturned when update actions could not be applied to the resource (for example, because a referenced resource does not exist).ExtensionUpdateActionsFailedErrorBuilder Example to create an instance using the builder patternReturned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like500
).ExternalOAuthFailedErrorBuilder Example to create an instance using the builder patternReturned when the requested feature was removed.FeatureRemovedErrorBuilder Example to create an instance using the builder patternReturned when a server-side problem occurs before or after data persistence.GeneralErrorBuilder Example to create an instance using the builder patternReturned when the anonymous ID is being used by another resource.GraphQLAnonymousIdAlreadyInUseErrorBuilder Example to create an instance using the builder patternReturned when an Associate is missing a Permission on a B2B resource.GraphQLAssociateMissingPermissionErrorBuilder Example to create an instance using the builder patternReturned when thename
of the AttributeDefinition conflicts with an existing Attribute.GraphQLAttributeDefinitionAlreadyExistsErrorBuilder Example to create an instance using the builder patternReturned when thetype
is different for an AttributeDefinition using the samename
in multiple Product Types.GraphQLAttributeDefinitionTypeConflictErrorBuilder Example to create an instance using the builder patternReturned when an AttributeDefinition does not exist for an Attributename
.GraphQLAttributeNameDoesNotExistErrorBuilder Example to create an instance using the builder patternReturned when a server-side problem is caused by scaling infrastructure resources.GraphQLBadGatewayErrorBuilder Example to create an instance using the builder patternReturned when the request conflicts with the current state of the involved resources.GraphQLConcurrentModificationErrorBuilder Example to create an instance using the builder patternReturned when the request results in too much data being returned from the API.GraphQLContentTooLargeErrorBuilder Example to create an instance using the builder patternReturned when a Cart or an Order in a Store references a country that is not included in the countries configured for the Store.GraphQLCountryNotConfiguredInStoreErrorBuilder Example to create an instance using the builder patternReturned when the Cart contains a Discount Code with a DiscountCodeState other thanMatchesCart
.GraphQLDiscountCodeNonApplicableErrorBuilder Example to create an instance using the builder patternReturned when theUnique
AttributeConstraint criteria are not met during an Update Product request.GraphQLDuplicateAttributeValueErrorBuilder Example to create an instance using the builder patternReturned when theCombinationUnique
AttributeConstraint criteria are not met during an Update Product request.GraphQLDuplicateAttributeValuesErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.GraphQLDuplicateEnumValuesErrorBuilder Example to create an instance using the builder patternReturned when a field value conflicts with an existing value causing a duplicate.GraphQLDuplicateFieldErrorBuilder Example to create an instance using the builder patternReturned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.GraphQLDuplicateFieldWithConflictingResourceErrorBuilder Example to create an instance using the builder patternReturned when a Price key conflicts with an existing key.GraphQLDuplicatePriceKeyErrorBuilder Example to create an instance using the builder patternReturned when a Price scope conflicts with an existing one during an Update Product request.GraphQLDuplicatePriceScopeErrorBuilder Example to create an instance using the builder patternReturned when the given Price scope conflicts with the Price scope of an existing Standalone Price.GraphQLDuplicateStandalonePriceScopeErrorBuilder Example to create an instance using the builder patternReturned when a Product Variant value conflicts with an existing one during an Update Product request.GraphQLDuplicateVariantValuesErrorBuilder Example to create an instance using the builder patternReturned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.GraphQLEditPreviewFailedErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.GraphQLEnumKeyAlreadyExistsErrorBuilder Example to create an instance using the builder patternReturned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.GraphQLEnumKeyDoesNotExistErrorBuilder Example to create an instance using the builder patternReturned when an enum value cannot be removed from an Attribute as it is being used by a Product.GraphQLEnumValueIsUsedErrorBuilder Example to create an instance using the builder patternReturned when during an order update of AttributeEnumType or AttributeLocalizedEnumType the new enum values do not match the existing ones.GraphQLEnumValuesMustMatchErrorBuilder Example to create an instance using the builder patternRepresents a single error.GraphQLErrorObjectBuilderReturned when the response from the API Extension could not be parsed successfully (such as a500
HTTP status code, or an invalid JSON response).GraphQLExtensionBadResponseErrorBuilder Example to create an instance using the builder patternReturned when the API Extension does not respond within the time limit, or could not be reached.GraphQLExtensionNoResponseErrorBuilder Example to create an instance using the builder patternReturned when the predicate defined in the ExtensionTrigger could not be evaluated due to a missing field.GraphQLExtensionPredicateEvaluationFailedErrorBuilder Example to create an instance using the builder patternReturned when update actions could not be applied to the resource (for example, because a referenced resource does not exist).GraphQLExtensionUpdateActionsFailedErrorBuilder Example to create an instance using the builder patternReturned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like500
).GraphQLExternalOAuthFailedErrorBuilder Example to create an instance using the builder patternReturned when the requested feature was removed.GraphQLFeatureRemovedErrorBuilder Example to create an instance using the builder patternReturned when a server-side problem occurs before or after data persistence.GraphQLGeneralErrorBuilder Example to create an instance using the builder patternGraphQLInsufficientScopeError Example to create an instance using the builder patternGraphQLInsufficientScopeErrorBuilder Example to create an instance using the builder patternReturned when certain API-specific constraints were not met.GraphQLInternalConstraintViolatedErrorBuilder Example to create an instance using the builder patternReturned when a Customer with the given credentials (matching the given email/password pair) is not found and authentication fails.GraphQLInvalidCredentialsErrorBuilder Example to create an instance using the builder patternReturned when the current password of the Customer does not match.GraphQLInvalidCurrentPasswordErrorBuilder Example to create an instance using the builder patternReturned when a field has an invalid value.GraphQLInvalidFieldErrorBuilder Example to create an instance using the builder patternReturned when an invalid input has been sent.GraphQLInvalidInputErrorBuilder Example to create an instance using the builder patternReturned when Line Item or Custom Line Item quantities set under ItemShippingDetails do not match the sum of the quantities in their respective shipping details.GraphQLInvalidItemShippingDetailsErrorBuilder Example to create an instance using the builder patternReturned when an invalid JSON input has been sent.GraphQLInvalidJsonInputErrorBuilder Example to create an instance using the builder patternReturned when the resources involved in the request are not in a valid state for the operation.GraphQLInvalidOperationErrorBuilder Example to create an instance using the builder patternGraphQLInvalidSubjectError Example to create an instance using the builder patternGraphQLInvalidSubjectErrorBuilder Example to create an instance using the builder patternGraphQLInvalidTokenError Example to create an instance using the builder patternGraphQLInvalidTokenErrorBuilder Example to create an instance using the builder patternReturned when a language cannot be removed from a Project as it is being used by a Store.GraphQLLanguageUsedInStoresErrorBuilder Example to create an instance using the builder patternReturned when two Customers are simultaneously created or updated with the same email address.GraphQLLockedFieldErrorBuilder Example to create an instance using the builder patternReturned when the Product Variant does not have a Price according to the ProductpriceMode
value for a selected currency, country, Customer Group, or Channel.GraphQLMatchingPriceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when a Cart Discount cannot be created or activated as the limit for active Cart Discounts has been reached.GraphQLMaxCartDiscountsReachedErrorBuilder Example to create an instance using the builder patternReturned when a resource type cannot be created as it has reached its limits.GraphQLMaxResourceLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.GraphQLMaxStoreReferencesReachedErrorBuilder Example to create an instance using the builder patternReturned when one of the following states occur:GraphQLMissingRoleOnChannelErrorBuilder Example to create an instance using the builder patternReturned when the Tax Category of at least one of thelineItems
,customLineItems
, orshippingInfo
in the Cart is missing the TaxRate matchingcountry
andstate
given in theshippingAddress
of that Cart.GraphQLMissingTaxRateForCountryErrorBuilder Example to create an instance using the builder patternReturned when a Money operation overflows the 64-bit integer range.GraphQLMoneyOverflowErrorBuilder Example to create an instance using the builder patternReturned when a Product Discount could not be found that could be applied to the Price of a Product Variant.GraphQLNoMatchingProductDiscountFoundErrorBuilder Example to create an instance using the builder patternReturned if the requested resource was not found or the Product Search index is inactive.GraphQLObjectNotFoundErrorBuilder Example to create an instance using the builder patternReturned when some of the Line Items are out of stock at the time of placing an Order.GraphQLOutOfStockErrorBuilder Example to create an instance using the builder patternReturned when the service is having trouble handling the load.GraphQLOverCapacityErrorBuilder Example to create an instance using the builder patternReturned when a given Price validity period conflicts with an existing one.GraphQLOverlappingStandalonePriceValidityErrorBuilder Example to create an instance using the builder patternReturned when a previous conflicting operation is still pending and needs to finish before the request can succeed.GraphQLPendingOperationErrorBuilder Example to create an instance using the builder patternReturned when the Price or Tax Rate of some Line Items or Shipping Rate of some Shipping Methods changed since they were last added to the Cart.GraphQLPriceChangedErrorBuilder Example to create an instance using the builder patternReturned when a Product is not assigned to the Product Selection.GraphQLProductAssignmentMissingErrorBuilder Example to create an instance using the builder patternReturned when a Product is already assigned to a Product Selection, but the Product Selection has either a different Product Variant Selection or a different Product Variant Exclusion.GraphQLProductPresentWithDifferentVariantSelectionErrorBuilder Example to create an instance using the builder patternReturned when the languages set for a Store are not supported by the Project.GraphQLProjectNotConfiguredForLanguagesErrorBuilder Example to create an instance using the builder patternGraphQLQueryComplexityLimitExceededError Example to create an instance using the builder patternGraphQLQueryComplexityLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when the query times out.GraphQLQueryTimedOutErrorBuilder Example to create an instance using the builder patternReturned when a resource referenced by a Reference or a ResourceIdentifier could not be found.GraphQLReferencedResourceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when a resource cannot be deleted because it is being referenced by another resource.GraphQLReferenceExistsErrorBuilder Example to create an instance using the builder patternReturned when a value is not defined for a required field.GraphQLRequiredFieldErrorBuilder Example to create an instance using the builder patternReturned when the resource addressed by the request URL does not exist.GraphQLResourceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when the resource exceeds the maximum allowed size of 16 MB.GraphQLResourceSizeLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when the indexing of Product information is deactivated in a Project.GraphQLSearchDeactivatedErrorBuilder Example to create an instance using the builder patternReturned when a search query could not be completed due to an unexpected failure.GraphQLSearchExecutionFailureErrorBuilder Example to create an instance using the builder patternReturned when a search facet path could not be found.GraphQLSearchFacetPathNotFoundErrorBuilder Example to create an instance using the builder patternReturned when the indexing of Product information is still in progress for Projects that have indexing activated.GraphQLSearchIndexingInProgressErrorBuilder Example to create an instance using the builder patternReturned if the requested search service is not ready.GraphQLSearchNotReadyErrorBuilder Example to create an instance using the builder patternReturned when a Discount predicate or API Extension predicate is not semantically correct.GraphQLSemanticErrorErrorBuilder Example to create an instance using the builder patternReturned when the Cart contains a ShippingMethod that is not allowed for the Cart.GraphQLShippingMethodDoesNotMatchCartErrorBuilder Example to create an instance using the builder patternReturned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.GraphQLStoreCartDiscountsLimitReachedErrorBuilder Example to create an instance using the builder patternReturned when a Discount predicate, API Extension predicate, or search query does not have the correct syntax.GraphQLSyntaxErrorErrorBuilder Example to create an instance using the builder patternInsufficientScopeError Example to create an instance using the builder patternInsufficientScopeErrorBuilder Example to create an instance using the builder patternReturned when certain API-specific constraints were not met.InternalConstraintViolatedErrorBuilder Example to create an instance using the builder patternReturned when a Customer with the given credentials (matching the given email/password pair) is not found and authentication fails.InvalidCredentialsErrorBuilder Example to create an instance using the builder patternReturned when the current password of the Customer does not match.InvalidCurrentPasswordErrorBuilder Example to create an instance using the builder patternReturned when a field has an invalid value.InvalidFieldErrorBuilder Example to create an instance using the builder patternReturned when an invalid input has been sent.InvalidInputErrorBuilder Example to create an instance using the builder patternReturned when Line Item or Custom Line Item quantities set under ItemShippingDetails do not match the sum of the quantities in their respective shipping details.InvalidItemShippingDetailsErrorBuilder Example to create an instance using the builder patternReturned when an invalid JSON input has been sent.InvalidJsonInputErrorBuilder Example to create an instance using the builder patternReturned when the resources involved in the request are not in a valid state for the operation.InvalidOperationErrorBuilder Example to create an instance using the builder patternInvalidSubjectError Example to create an instance using the builder patternInvalidSubjectErrorBuilder Example to create an instance using the builder patternInvalidTokenError Example to create an instance using the builder patternInvalidTokenErrorBuilder Example to create an instance using the builder patternReturned when a language cannot be removed from a Project as it is being used by a Store.LanguageUsedInStoresErrorBuilder Example to create an instance using the builder patternReturned when two Customers are simultaneously created or updated with the same email address.LockedFieldErrorBuilder Example to create an instance using the builder patternReturned when the Product Variant does not have a Price according to the ProductpriceMode
value for a selected currency, country, Customer Group, or Channel.MatchingPriceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when a Cart Discount cannot be created or activated as the limit for active Cart Discounts has been reached.MaxCartDiscountsReachedErrorBuilder Example to create an instance using the builder patternReturned when a resource type cannot be created as it has reached its limits.MaxResourceLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.MaxStoreReferencesReachedErrorBuilder Example to create an instance using the builder patternReturned when one of the following states occur:MissingRoleOnChannelErrorBuilder Example to create an instance using the builder patternReturned when the Tax Category of at least one of thelineItems
,customLineItems
, orshippingInfo
in the Cart is missing the TaxRate matchingcountry
andstate
given in theshippingAddress
of that Cart.MissingTaxRateForCountryErrorBuilder Example to create an instance using the builder patternReturned when a Money operation overflows the 64-bit integer range.MoneyOverflowErrorBuilder Example to create an instance using the builder patternReturned when a Product Discount could not be found that could be applied to the Price of a Product Variant.NoMatchingProductDiscountFoundErrorBuilder Example to create an instance using the builder patternReturned if the requested resource was not found or the Product Search index is inactive.ObjectNotFoundErrorBuilder Example to create an instance using the builder patternReturned when some of the Line Items are out of stock at the time of placing an Order.OutOfStockErrorBuilder Example to create an instance using the builder patternReturned when the service is having trouble handling the load.OverCapacityErrorBuilder Example to create an instance using the builder patternReturned when a given Price validity period conflicts with an existing one.OverlappingStandalonePriceValidityErrorBuilder Example to create an instance using the builder patternReturned when a previous conflicting operation is still pending and needs to finish before the request can succeed.PendingOperationErrorBuilder Example to create an instance using the builder patternReturned when the Price or Tax Rate of some Line Items or Shipping Rate of some Shipping Methods changed since they were last added to the Cart.PriceChangedErrorBuilder Example to create an instance using the builder patternReturned when a Product is not assigned to the Product Selection.ProductAssignmentMissingErrorBuilder Example to create an instance using the builder patternReturned when a Product is already assigned to a Product Selection, but the Product Selection has either a different Product Variant Selection or a different Product Variant Exclusion.ProductPresentWithDifferentVariantSelectionErrorBuilder Example to create an instance using the builder patternReturned when the languages set for a Store are not supported by the Project.ProjectNotConfiguredForLanguagesErrorBuilder Example to create an instance using the builder patternQueryComplexityLimitExceededError Example to create an instance using the builder patternQueryComplexityLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when the query times out.QueryTimedOutErrorBuilder Example to create an instance using the builder patternReturned when a resource referenced by a Reference or a ResourceIdentifier could not be found.ReferencedResourceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when a resource cannot be deleted because it is being referenced by another resource.ReferenceExistsErrorBuilder Example to create an instance using the builder patternReturned when a value is not defined for a required field.RequiredFieldErrorBuilder Example to create an instance using the builder patternReturned when the resource addressed by the request URL does not exist.ResourceNotFoundErrorBuilder Example to create an instance using the builder patternReturned when the resource exceeds the maximum allowed size of 16 MB.ResourceSizeLimitExceededErrorBuilder Example to create an instance using the builder patternReturned when the indexing of Product information is deactivated in a Project.SearchDeactivatedErrorBuilder Example to create an instance using the builder patternReturned when a search query could not be completed due to an unexpected failure.SearchExecutionFailureErrorBuilder Example to create an instance using the builder patternReturned when a search facet path could not be found.SearchFacetPathNotFoundErrorBuilder Example to create an instance using the builder patternReturned when the indexing of Product information is still in progress for Projects that have indexing activated.SearchIndexingInProgressErrorBuilder Example to create an instance using the builder patternReturned if the requested search service is not ready.SearchNotReadyErrorBuilder Example to create an instance using the builder patternReturned when a Discount predicate or API Extension predicate is not semantically correct.SemanticErrorErrorBuilder Example to create an instance using the builder patternReturned when the Cart contains a ShippingMethod that is not allowed for the Cart.ShippingMethodDoesNotMatchCartErrorBuilder Example to create an instance using the builder patternReturned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.StoreCartDiscountsLimitReachedErrorBuilder Example to create an instance using the builder patternReturned when a Discount predicate, API Extension predicate, or search query does not have the correct syntax.SyntaxErrorErrorBuilder Example to create an instance using the builder patternVariantValues Example to create an instance using the builder patternVariantValuesBuilder Example to create an instance using the builder pattern