+ Start a Discussion
Bhushan burujwaleBhushan burujwale 

UNKNOWN_EXCEPTION: The reference to entity "FyqvuKwYdUxifmPj3ifNW8PA1d" must end with the ';' delimiter

We are getting below exception in one of our customer environment while we are trying to use a login api.


- UNKNOWN_EXCEPTION: The reference to entity  "FyqvuKwYdUxifmPj3ifNW8PA1d" must end with the ';' delimiter
 The response returned from Salesforce:
url=https://test.salesforce.com/services/Soap/u/33.0/, errorCode=500, getMessage()=<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="urn:fault.partner.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>UNKNOWN_EXCEPTION</faultcode><faultstring>UNKNOWN_EXCEPTION: The reference to entity &quot;FyqvuKwYdUxifmPj3ifNW8PA1d&quot; must end with the &apos;;&apos; delimiter.</faultstring><detail><sf:UnexpectedErrorFault xsi:type="sf:UnexpectedErrorFault"><sf:exceptionCode>UNKNOWN_EXCEPTION</sf:exceptionCode><sf:exceptionMessage>The reference to entity &quot;FyqvuKwYdUxifmPj3ifNW8PA1d&quot; must end with the &apos;;&apos; delimiter.</sf:exceptionMessage></sf:UnexpectedErrorFault></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Regards,
Imran
AbhishekAbhishek (Salesforce Developers) 
Hi Imran,

Can you check the login history and WSDL File so that you can have more clarity on the error?
 
Administrator 167Administrator 167
I happen to have pretty the same issue: did you get a solution ?
Thanks
David HampsonDavid Hampson
I had this issue and it turned out to be an & in my password. In the request it needs to be changed to &amp;