Note
The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!
Unrecognized escape sequence.
Remarks
This error occurs when a text literal contains a backslash (\) followed by a character that isn't a recognized escape sequence. In AL, the backslash is used as a newline indicator in methods like Message, Error, Confirm, and Dialog.Open. To display a literal backslash, use a double backslash (\\). Learn more in Text data type.