Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

The reference to entity must end with the ';' delimiter. on UI Page

sammarcow
Mega Expert

Creating a UI Page,

<a href=

<a href="https://slack.com/oauth/authorize?scope=incoming-webhook,commands,bot&client_id=121325453792.1213561..."><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" /></a>

2x" /></a>

Error at line (4) The reference to entity "client_id" must end with the ';' delimiter.

Removing "client_id=121325453792.121356192369" resolves the error - why? Adding a semicolon after the 9 does not resolve error.

1 ACCEPTED SOLUTION

drjohnchun
Tera Guru

The reason for this is when the parser sees "&", it thinks you have an encoded entity, for example "&amp;", and expects a terminating ";" which is not there, thus the error.


View solution in original post

2 REPLIES 2

drjohnchun
Tera Guru

Can you try, instead of using "&"



&amp;client_id=...



as in



<a href="https://slack.com/oauth/authorize?scope=incoming-webhook,commands,bot&amp;client_id=121325453792.121... alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" /></a>  



Hope this helps.



Please feel free to connect, follow, mark helpful / answer, like, endorse.


John Chun, PhD PMP see John's LinkedIn profile

visit snowaid


ServiceNow Advocate

Winner of November 2016 Members' Choice Award


drjohnchun
Tera Guru

The reason for this is when the parser sees "&", it thinks you have an encoded entity, for example "&amp;", and expects a terminating ";" which is not there, thus the error.