ErrorsDo not retry

TEMPLATE_MODE_MISMATCH

Template in another mode

Fix

Use a key of the template's mode.

When

The template's mode differs from the key's or session's mode.

Returned by