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:
|
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:
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:
|
| 400 | runtime_error | POST |
One of the following messages:
|
One of the following reasons:
|
| 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:
|
One of the following reasons:
|
| 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:
|
One of the following reasons:
|
| 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:
|
One of the following reasons:
|
| 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:
|
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:
|
| 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. |