TEMPORAL Messages
- Last Updated: September 10, 2026
- 5 minute read
- MarkLogic Server
- Version 12.0
- Documentation
TEMPORAL-AXISINUSE
Message Text
Cannot delete axis variable2 still referenced by temporal collection variable1
Cause
Cannot delete axis still use by temporal collection.
Response
Delete the temporal collection with temporal:collection-remove() first to delete this axis.
TEMPORAL-AXISNOTFOUND
Message Text
Temporal axis variable1 is not found
Cause
The specified temporal axis does not exist.
Response
Use an existing temporal axis.
TEMPORAL-BADLSQT
Message Text
LSQT file for temporal collection is in bad format
Cause
The specified LSQT file is not formatted correctly.
Response
Use temporal:advance-LSQT() to overwrite.
TEMPORAL-BADTIMEASTAMP
Message Text
Timestamp provided is not in valid dateTime format
TEMPORAL-CANNOT-URI
Message Text
Cannot use variable1 as temporal URI, it cannot be "latest" or name of temporal collection
Cause
The specified URI is not valid for a temporal URI.
Response
Choose a different URI.
TEMPORAL-COLLECTIONLATEST
Message Text
Cannot use "latest" as a temporal collection or in collection parameter
Cause
The URI "latest" cannot be used for this URI.
Response
Choose a different URI.
TEMPORAL-COLLECTIONNOTEMPTY
Message Text
Cannot create/remove collection variable1 that is not empty
Cause
There is document in the specified collection.
Response
If you are trying to delete temporal collection that has documents, you need to set its option to "updates-admin-overrides" and perform delete with admin privilege.
TEMPORAL-COLLECTIONNOTFOUND
Message Text
Temporal collection variable1 is not found
Cause
The specified temporal collection does not exist.
Response
Use an existing temporal collection or create a new temporal collection.
TEMPORAL-COLLECTIONTEMPORAL
Message Text
Cannot use variable1 in the collection parameter since it is a temporal collection
Cause
The specified collection is the same as the temporal collection.
Response
Choose a different URI than the temporal collection.
TEMPORAL-COLLECTIONURI
Message Text
Cannot use document uri variable1 in the collection parameter for insertion into temporal collection
Cause
The specified collection is the same as the temporal collection.
Response
Choose a different URI than the temporal collection.
TEMPORAL-CONFLICTINGOPTIONS
Message Text
Options variable1 provided are conflicting
Cause
The specified temporal options cannot be used together.
Response
Choose options that are not conflicting.
TEMPORAL-CONFLICTINGURIS
Message Text
More than one version URI specified for temporal document variable1
TEMPORAL-DOCNOTFOUND
Message Text
Document not found
TEMPORAL-DUPAXIS
Message Text
Cannot create axis variable1 that already exists in the schema database
Cause
The temporal axis already exists in the schemas database.
Response
You cannot create an axis that already exists.
TEMPORAL-DUPCOLLECTION
Message Text
Cannot create collection variable1 that already exists in the schema database
Cause
Database with the same Schema database share same temporal configuration such as axis and temporal collection.
Response
Check what temporal collection already exist with temporal:collections().
TEMPORAL-EMPTYCOLLECTIONNAME
Message Text
Temporal collection name cannot be empty
Cause
Temporal collection name cannot be empty.
Response
Provide an existing temporal collection name.
TEMPORAL-GTLSQT
Message Text
Timestamp variable1 provided is greater than LSQT variable2, cannot perform current-query to provide stable result, please provide a timestamp before LSQT
Cause
The specified LSQT timestamp is not within the proper range.
Response
Provide a timestamp before the second LSQT.
TEMPORAL-INVALIDDURATION
Message Text
The specified duration option variable1 is invalid
TEMPORAL-INVALIDEXPTIME
Message Text
The specified expire time option variable1 is invalid
TEMPORAL-INVALIDPATH
Message Text
The specified archive path option variable1 is invalid
Cause
The archive path cannot contain ','
Response
Remove ',' in the archive path.
TEMPORAL-LSQT-AUTOMATION-OFF
Message Text
LSQT automation on temporal collection variable1 is turned off
Cause
LSQT automation on the specified temporal collection is turned off.
Response
Use temporal:set-lsqt-automation(true()) to turn it on.
TEMPORAL-LSQTAUTOMATIONOFF
Message Text
Automation period is only available when automation is set to on
Cause
Cannot set automation period when automation is off.
Response
Use temporal:set-lsqt-automation(true()) to turn it on.
TEMPORAL-MANAGED-METADATA
Message Text
The metadata variable1 is system-managed and cannot be updated
Cause
The temporal document being created contains system-managed metadata or the temporal document being updated contains system-managed metadata that is different from the original value.
Response
Remove or rename the metadata key.
TEMPORAL-NODEDELETEROOT
Message Text
Cannot delete document root with temporal:node-delete
TEMPORAL-NOEXTIME
Message Text
No expire time is available for archive
Cause
A valid duration or expire time is required to archive the protected document
Response
Specify a valid duration or expire time for the document.
TEMPORAL-NOLSQT
Message Text
LSQT is not set up on the temporal collection variable1
Cause
The specified temporal collection does not have Last Stable Query Time (LSQT) set up.
Response
Use temporal:set-use-LSQT() to turn LSQT on.
TEMPORAL-NONDATETIME
Message Text
Range index provided is not typed dateTime
Cause
The range index is not of type dateTime.
Response
Temporal range indexes must be of type dateTime. Add a new index or change the existing index to dateTime.
TEMPORAL-NOSCHEMADB
Message Text
No schema database for temporal resource: variable1
Cause
The content database does not have a schema database.
Response
Make sure that the correct schema database is attached to the content database.
TEMPORAL-NOTDOCURI
Message Text
URI variable1 is not a temporal document URI
TEMPORAL-NOTINCOLLECTION
Message Text
Document variable1 is not in temporal collection variable2
TEMPORAL-NOTSYSTEMORVALID
Message Text
Axis variable1 is neither "system" nor "valid"
Cause
The specified axis is neither "system" nor "valid".
Response
Specify either "system" or "valid.
TEMPORAL-NOVALID
Message Text
Valid axis is not specified for temporal collection variable1
TEMPORAL-OPNOTAFTERLSQT
Message Text
Can only perform operation on temporal collection variable1 with system time set after LSQT
Cause
Can only perform operation on the temporal collection with system time set after LSQT.
Response
Pass in a time greater than LSQT in temporal:statement-set-system-time().
TEMPORAL-PERIOD-START-GE-END
Message Text
cannot create cts:period, start time must be before end time
Cause
The specified temporal start time must be before the end time.
Response
Provide a cts:period whose start time is less than end time.
TEMPORAL-PROTECTED
Message Text
The document variable1 is protected variable2
TEMPORAL-SAME-AXIS
Message Text
Cannot create temporal collection with system and valid both using the same axis
Cause
The system and valid axis must be different.
Response
Choose a different system or valid axis.
TEMPORAL-SAMEDOCURI
Message Text
Version URI variable1 is the same as document URI variable2
TEMPORAL-SYSTEMTIME-BACKWARDS
Message Text
System time can only go forward for the same URI variable1 in temporal collection
Cause
System time can only go forward for the same URI in temporal collection.
Response
Choose another timestmap that is greater than the largest system time for this URI. To find what that timestamp is, you can check the content of fn:doc($URI).
TEMPORAL-SYSTIME-MUSTGETAFTERSET
Message Text
Cannot get system time before it is set
Cause
Cannot get system time before it is set.
Response
Move temporal:statement-get-system-time() after temporal:statement-set-system-time().
TEMPORAL-TEMPORALDOCURINOTFOUND
Message Text
The metadata TemporalDocURI is not found.
Cause
The temporal node built-in functions require temporal document URI stored in the document metadata.
Response
Specify the temporal-doc-uri optional argument for temporal documents upgraded from MarkLogic 8.
TEMPORAL-UNPROTECTED
Message Text
Cannot wipe temporal document variable1 which is unprotected
TEMPORAL-UPDATEBEFOREVERSIONURI
Message Text
Updates to variable1 are made before version URI variable2 is specified
TEMPORAL-URIEXISTS
Message Text
A fragment with URI variable1 already exists
TEMPORAL-VALIDTIME-START-GE-END
Message Text
Cannot ingest a document with URI variable1 with valid start time greater or equal to valid end time to temporal collection
Cause
Cannot ingest a document with valid start time greater or equal to valid end time to temporal collection.
Response
Change the content of document being ingested to have valid time start less then end.