cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4832
Views
15
Helpful
3
Replies

Error when I use a password containing the ampersand character

bibin.pm
Level 1
Level 1

Hello,

 

When I use Webex Meetings XML API with & in the password, getting the below error.

 

"Parsing Error: The entity name must immediately follow the '&' in the entity reference.?Line : 1?Column : 220?"

 

<securityContext>

    <siteName>domainmeetings</siteName>

    <webExID>svc_stage</webExID>

   <password>Pass&d1</password>

</securityContext>

 

I have even tried &amp; but getting error as below 

 

<serv:response>

<serv:result>FAILURE</serv:result>

<serv:reason>Incorrect user or password</serv:reason>

<serv:gsbStatus>PRIMARY</serv:gsbStatus>

<serv:exceptionID>030002</serv:exceptionID>

</serv:response>

 

Regards,

Bibin

3 Replies 3

jstewart1
Level 1
Level 1

It is ambiguous to me if the @ is supported in a password.  I would try enclosing it in quotes... Pass"&"d1

Thanks for the response, I have tried by enclosing & in double-quotes [Pass"&"d1]. But did not help, It displays the same error.

 

<serv:reason>Parsing Error : The entity name must immediately follow the '&amp;' in the entity reference.?Line : 1?Column : 221?</serv:reason>

The following works for me, for password: Pass&

 

<securityContext>
  <siteName>apidemoeu</siteName>
  <webExID>dstaudt</webExID>
  <password>Pass&amp;</password>  
</securityContext>