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
RamanaRamana 

Error using upsert() Bulk API to udpate URL field

Hi All,

 

I am getting the following error while trying to update a URL (Website) field using spsert() Bulk API.

 

The data "http://www.nimaya.com " is not legal for a JDOM character content: 0x0 is not a legal XML character.

 

Can anyone please help me to resolve this issue?

 

Thanks in Advance,

Ramana Maddikunta

Best Answer chosen by Admin (Salesforce Developers) 
RamanaRamana

Please ingnore the post...there was some special character at the end of the url value, in the dabase, which was causing the problem. We corrected it in the database and it works fine now.


Ramana wrote:

Hi All,

 

I am getting the following error while trying to update a URL (Website) field using spsert() Bulk API.

 

The data "http://www.nimaya.com " is not legal for a JDOM character content: 0x0 is not a legal XML character.

 

Can anyone please help me to resolve this issue?

 

Thanks in Advance,

Ramana Maddikunta