Loading TOC...

TDE-INDEX

Message Text

Error applying template variable1 to document variable2: exception_stack

Cause

User inserted a document where certain data caused an error in one of the extraction templates. The most common causes are wrong data-type, missing data for the specified column or triple, the template matched multiple nodes (revisit the context or the val expression). Also user didn't set the invalid-values option in the row/triple configuration.

Response

Check the error returned. Either change the data-type in the template, fix the val expression or modify the context matching. If any of those cannot be changed and you still want to insert the data, set the invalid-values option to "ignore" either on the column or the triple's subject, predicate or object.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.