Skip to content

Troubleshooting

mapper_parsing_exception

This error occurs when saving a document with a different type of value versus what is configured in the template.json or of an existing document.

Example:

    // existing document
    {
        documentId: ....,
        status: 1
    }

    // document to insert
    {
        documentId: ....,
        status: "Processing"
    }

To avoid this it is suggested to use field names that are likely to be unique for the type. It is better to suffix the field name with the type.

ex. status will be called statusText:

{ documentId: ...., statusText: "Processing" }