function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Adding Email to Case - Error Message

I have a user that is trying to add an email from Lotus Notes to a Case and is getting the following message:


An error occured while trying to add an email to Salesforce.  Please contact your administrator to confirm that you have access to activities in Salesforce. 


org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1) was found in the element content of the document.


Some days he gets this error and some days he does not.  It is not consistent.  Any ideas?

That type of error often occurs when the email itself contains a strange character which is invalid for XML (because the email is ultimately getting packaged up and sent to in XML format).  There's probably some common thread to the emails that are generating this issue, but the strange character itself will not be visible -- they're usually Unicode control characters.