Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs Module: Scriban render problem #20137

Closed
salihozkara opened this issue Jul 1, 2024 · 0 comments
Closed

Docs Module: Scriban render problem #20137

salihozkara opened this issue Jul 1, 2024 · 0 comments

Comments

@salihozkara
Copy link
Member

salihozkara commented Jul 1, 2024

If there is a problem with scriban rendering in documents, display this error on the page.

Error occurred during the rendering of this document. "The document is not valid: {SCRIBAN_ERROR_MESSAGE}"

Example:

The document is not valid. <input>(184,23) : error : Error while parsing nested expression: Expecting <expression> instead of `.` in: (<expression>)
<input>(184,23) : error : Invalid token `.`. Expecting a closing `)`.
<input>(184,98) : error : Invalid token found `)`. Expecting <EOL>/end of line.
System.InvalidOperationException: This template has errors. Check the <Template.HasError> and <Template.Messages> before evaluating a template. Messages:
<input>(184,23) : error : Error while parsing nested expression: Expecting <expression> instead of `.` in: (<expression>)
<input>(184,23) : error : Invalid token `.`. Expecting a closing `)`.
<input>(184,98) : error : Invalid token found `)`. Expecting <EOL>/end of line.

Also send discord notification or email to us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants