ES Messages
- Last Updated: September 10, 2026
- 2 minute read
- MarkLogic Server
- Version 12.0
- Documentation
ES-DEFINITIONS
Message Text
Invalid model: There must be at least one entity type in the model descriptor
Cause
The model is invalid because it has no definitions for any entity types.
Response
Complete the model: add at least one entity type definition.
ES-ENTITY-NOTFOUND
Message Text
No such entity type: variable1
Cause
An attempt was made to create a JSON schema or mapping for the given entity type name, but no definition for that entity was found in the model.
Response
Make sure the name of the entity type is spelled correctly, with the proper case, and that the model has a definition for it.
ES-ENV-BADFORMAT
Message Text
Bad envelope format: Only available envelope formats are "xml" and "json", not "variable1"
Cause
An attempt was made to serialize the attachments for storage in an envelope document, but the format of the envelope was neither of the supported formats.
Response
Define the proper envelope format, either "xml" or "json".
ES-FUNCTION-BADFORMAT
Message Text
Invalid function metadata: Valid function metadata must be XML
Cause
An attempt was made to compile function metadata from something that was not in a valid form.
Response
Create the function metadata as a valid XML instance of the function metadata schema.
ES-ILLEGAL-URI
Message Text
Illegal URI: 'variable1' contains invalid characters
Cause
The URI contains invalid characters such as quotation marks.
Response
Fix the URI.
ES-MAPPING-BADFORMAT
Message Text
Invalid mapping: Valid mappings must be XML
Cause
An attempt was made to compile a mapping from something that was not in a valid form.
Response
Create the mapping as a valid XML instance of the mapping schema.
ES-MODEL-BADFORMAT
Message Text
Invalid model: Valid models must be JSON, XML, or map:map
Cause
An attempt was made to create a model from something that was not in a valid form.
Response
Create the model from a JSON, XML, or map:map respresentation.
ES-MODEL-INVALID
Message Text
Invalid model: variable1
Cause
The model was invalid.
Response
Fix the errors in the model.