Entity: error

The error entity is for communicating error messages, primarily used within the API-framework.

Example usage

Below is an example error entity, filled with some attributes. See AFD Online for the complete and up-to-date data catalog with all the attributes listed under the error entity.

{
	"error": [ {
		"entityType": "default",
		"httpStatus": "400",
		"errorCode": "0001",
		"errorDescription": "Invalid JSON format"
	} ]
}

Entity types

There are no entity types within the error entity. Entities without an entity type always use “default” as the value for the mandatory entityType attribute (see example above).

Feedback

Thanks for your feedback.

Post your comment on this topic.

Post Comment