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
ClintPClintP 

"There is an error in XML Document (9,65)" when querying Event or Task

When including the "ActivityDate" field in any Event or Task query I get the following error returned from the query-

"There is an error in XML Document (9,65)"

Anyone know what it means or how to work around?

Thanks,

-Clint

 

DevAngelDevAngel

Hi ClintP,

I assume you are using .Net, is that right?

I am currently unable to reproduce the error that you are recieving.  Can you capture the xml going in and out of your app?  And would you mind posting the entire SOQL string that you are attempting to use?

Linda_in_NCLinda_in_NC

I was able to reproduce this error.

I found that what happened was that I changed a field type in Salesforce, but had not updated my WSDL or Reference.cs.  Updating Reference.cs resolved the problem, but I recommend updating both.