Error Messages

Integration API errors can result from missing keys, properties, system errors, or other scenarios. Understanding the error responses can help you identify the source of errors.

HTTP Response Code Code Method Message Reason
400 filter_not_supported GET Nested filter [nested entity types] of more than one level is not supported. Integration API does not support nested filters.
400 invalid_attribute_value POST, PATCH An error occurred while attempting to save entries for entityType: [name of entity type], with error message [reason]. An attribute value present in the payload is not valid or cannot be used in combination with other attributes of the specified entity type. The [reason] portion of the message explains which attribute value is invalid and why.
400 invalid_language POST, PATCH The language provided [invalidLanguageTagFromLanguageHeader] is not available in the system. The Content-Language or Accept-Language header does not exist in the platform.
400 invalid_key PATCH, GET

PATCH: Key [integrationKey] in the payload does not match the key [integrationKey] in the path.

GET: The integration key [SomeInvalidKey] is invalid. Please consult the IntegrationKey definition of [entity type] for configuration details.

PATCH: The integration keys in the request URL and payload are different.

GET: Invalid integrationKey provided.

400 missing_key POST One of the following messages:
  • Message 1: Key [name of key] is required for EntityType [ name of entity type].

  • Message 2: Key NavigationProperty [key navigation property name] is required for EntityType [name of entity type].

  • Message 3: Key Property [key property name] is required for EntityType [name of entity type].

A key property or navigation property that is part of the key does not exist in the incoming data, but is specified in the schema as key or nullable=false.
400 missing_nav_property POST, PATCH
POST: One of the following messages:
  • Message 1: NavigationProperty [name of property] is required for EntityType [name of entity type].

  • Message 1: Item referenced by attribute [catalogVersion] in [name of entity type] item does not exist in the system. Cannot create referenced item for this attribute because it is not partof or autocreate for the item that it belongs to.

PATCH: Item referenced by attribute [attribute name] in [entity type] item does not exist in the system. Cannot create referenced item for this attribute because it is not partof or autocreate for the item that it belongs to.

A navigation property that does not exist in the incoming data, nor in the database, is specified in the schema as Nullable=false.
400 missing_property POST, PATCH Property [name of property] is required for EntityType [ name of entity type]. Any non-key property that does not exist in the incoming data, nor in the database, is specified in the schema as Nullable=false. It is not possible to update a required attribute with a null value.
400 odata_error POST An error occurred while processing the request. The most likely cause of this error is the formatting of your OData request payload. Please verify the request payload format corresponds to the EDMX metadata for the Entity that you are attempting to create.
One of the following reasons:
  • The request attempted to post an OData Entry (collection) to a simple property.

  • The request attempted to post a simple property to an OData Entry (collection).

  • API cannot translate the payload to a valid format for the destination EntitySet.

400 runtime_error POST
One of the following messages:
  • Message 1: There was an error encountered during the processing of the Integration Object. The detailed cause of this error is visible in the log.

  • Message 2: There was an unexpected error encountered during the retrieval of the [formattedName] property for EntityType [Product].

One of the following reasons:
  • This message returns in any case of failure where the cause is unknown.

  • Indicates a problem with execution of the script used in a virtual attribute configuration. This means that the attribute configuration is valid, that is, the script is found and loaded, but the script crashed during execution. The crash may indicate a bug in the script or unexpected script parameter input; however, after the script crashes at least once, it becomes disabled. Therefore, correcting the payload or the data and repeating the request might not be sufficient. The script might need to be re-enabled in Backoffice as well. See "Autodisabling of Model-Based Scripts" in Scripting Engine.

400 invalid_property POST An entity contains [property] that is not defined in the Integration Object. The attribute is not defined on the Integration Object Item.
400 invalid_property_definition POST, GET

POST: Invalid attribute found [ItemThisAttributeBelongsTo.abstractAttribute]. Cannot define attribute of an abstract item type as autocreate or partof for the item that it belongs to.

GET: Cannot generate unique navigation property for collections [entity type]

POST: You cannot create a new instance of an abstract type or reference an abstract type where autocreate=true.

GET: A non-localized collection type navigationProperty is set as unique=true.

400 invalid_key_definition GET There is no valid integration key defined for the current entityType [name of entity type]. The IntegrationObjectItemAttributes are not defined for the Integration Object Item.
400 integration_key_not_supported GET Filtering by integration key is not supported. Please supply the key with the Integration Object (e.g. https://.../InboundProduct/Products('Staged|Default|MyProduct')) Integration API does not support filtering by integrationKey.
400 invalid_query_parameter GET [query parameter] and [query parameter] query parameters cannot be combined in the same get request. Integration API does not support certain query parameters in the same request.
400 misconfigured_attribute GET
One of the following messages:
  • Message 1: Cannot generate unique property for localized attribute [name] set on item [Product].

  • Message 2: Key attribute [IntegrationItemC.itemB] forms a circular reference back to [IntegrationItemB]

  • Message 3: Configuration for virtual attribute formattedName in item Product is invalid.

One of the following reasons:
  • For message 1: Localized values are not permitted as keys.

  • For message 2: Circular dependency found in integrationKey.

  • For message 3:

    Indicates a problem related to a virtual attribute configuration. Such exceptions indicate persistent problems with retrieving/providing a specific virtual attribute's values regardless of the specific context {@code ItemModel} or other changing factors, for example, time of execution, permissions, etc. The problem is consistent and can be resolved only by changing the virtual attribute definition or descriptor.

400 operator_not_supported GET Operator [unsupported operator] is not supported. Request includes an unsupported filter.
400 filter_by_virtual_attribute_not_supported   Filtering by virtual attribute formattedName is not supported. When a user attempts to use the URL query parameter `filterBy` with a virtual attribute.
400 order_by_virtual_attribute_not_supported   Ordering by virtual attribute formattedName is not supported. When a user attempts to use the URL query parameter `orderBy` with a virtual attribute.
400 deletion_failure DELETE
One of the following messages:
  • Message 1: The InboundChannelConfiguration cannot be deleted, because it is used by the [DestinationTarget name]. Please delete the ExposedDestination [name] and try again.
  • Message 2: The [Integration Object name] cannot be deleted because it is exposed as an API. Please delete the related InboundChannelConfiguration and try again.
One of the following reasons:
  • For message 1: Attempting to delete an InboundChannelConfiguration before deleting the exposed destination it's associated with.

  • For message 2: Attempting to delete an Integration Object before deleting the InboundChannelConfiguration it's associated with.

400 hook_not_found POST, PATCH <hook_type>PersistHook [<hook_name_from_the_request_header>] does not exist. Payload will not be persisted. Not a single persistence hook provider was able to find a hook matching the name. Another possibility is that the hook was found but the provider failed to load/activate the hook. Details should be in the log (DEBUG level may need to be enabled to see them).
400 pre_persist_error POST, PATCH Exception occurred during the execution of PrePersistHook: [<hook_name_from_the_request_header>]. A hook was found but it crashed (threw a RuntimeException that left the hook code) while processing the item.
400 post_persist_error POST, PATCH Exception occurred during the execution of PostPersistHook: [<hook_name_from_the_request_header>]. A hook was found but it crashed (threw a RuntimeException that left the hook code) while processing the item.
403 forbidden POST, PATCH, DELETE, GET
One of the following messages:
  • Message 1: User is not authorized for the operation.
  • Message 2: Credentials provided are not authorized for the operation.
  • Message 3: The user lacks [create, read, update, or delete] privileges for accessing the [item type name] type.
  • Message 4: The user lacks [create, read, update, or delete] privileges for accessing the Integration Object types.
One of the following reasons:
  • For message 1: Access to the specified Integration Object is restricted.

  • For message 2: Access to the specified Integration Object is restricted.

  • For message 3:The user lacks a specific privilege or access right that they are trying to perform.
  • For message 4: A user is attempting to get an Integration Object's metadata but the Integration Object doesn't have a root item.
404 not_found POST, PATCH, GET

POST: Could not find an entity set or function import for 'Products'.

PATCH: [Integration Object item] with integration key [integration key] was not found.

GET: One of the following messages:
  • Message 1: [Entity type] with integration key [integration key] was not found.

  • Message 2: Could not find property with name: '[attributeName]'.

POST: The Integration Object Item does not exist for the specified service.

PATCH: The Integration Object Item or the integrationKey in the request URL does not exist for the specified service.

GET: One of the following reasons:
  • For message 1: Item not found.

  • For message 2: Requested attribute does not exist.

404 invalid_key DELETE The integration key [integrationKey] is invalid. Please consult the IntegrationKey definition of [entityType] for configuration details. The Integration Object Item or the integrationKey in the request URL does not exist for the specified service.
405 method_not_allowed PATCH, DELETE The request dispatcher does not allow the HTTP method used for the request.

PATCH: The request is invalid because it does not include an integrationKey, attempts to update multiple items at once, or includes a filter condition.

DELETE: The request is invalid because it does not include an integrationKey or includes filters.

415   POST, PATCH Media type [media type] is not supported. Request includes an invalid contentType header.
500 internal_error POST, PATCH, GET, DELETE There was an error encountered during the processing of the Integration Object. The detailed cause of this error is visible in the log. The system encountered an error during the processing.
501 filter_not_supported GET Filtering by classification attribute [attributeName] is not supported. Integration API does not support filtering of classification attributes.