InvalidEntityTypeError
error objectrequired
codestringrequired
Machine-readable error code
Possible values: [INVALID_ENTITY_TYPE]
Example:
INVALID_REQUESTmessagestringrequired
Human-readable error message
Example:
This operation is only valid for MediaObject entitiesdetails object
Additional error details specific to the error type
entityTypestring
The actual entity type of the requested entity
Example:
http://pcdm.org/models#CollectionexpectedTypestring
The expected entity type for this operation
Example:
http://schema.org/MediaObjectproperty name*any
Additional error details specific to the error type
Example:
{"field":"id","value":"invalid-uri"}requestIdstring<uuid>
Unique identifier for this request, useful for debugging
Example:
550e8400-e29b-41d4-a716-446655440000InvalidEntityTypeError
{
"error": {
"code": "INVALID_REQUEST",
"message": "This operation is only valid for MediaObject entities",
"details": {
"field": "id",
"value": "invalid-uri"
},
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}