You need to sign in to do that
Don't have an account?
Dhaval Panchal
Urgent :: Error in Bulk API (InvalidBatch : Failed to parse XML. Found invalid XML. entity reference names can not start with character ' ' )
Hello,
I am using Bulk Api with C#.net.
every time I am getting below error if xml file has more than 50 records.
<stateMessage>InvalidBatch : Failed to parse XML. Found invalid XML. entity reference names can not start with character ' ' (position: START_TAG seen ...<SMS_Zip_Code_Map_EUC__c>J & ... @1:72405)</stateMessage>
Below 50 records It works fine.
Anyone has some idea?
Thanks in Advance,
Dhaval Panchal
I am using Bulk Api with C#.net.
every time I am getting below error if xml file has more than 50 records.
<stateMessage>InvalidBatch : Failed to parse XML. Found invalid XML. entity reference names can not start with character ' ' (position: START_TAG seen ...<SMS_Zip_Code_Map_EUC__c>J & ... @1:72405)</stateMessage>
Below 50 records It works fine.
Anyone has some idea?
Thanks in Advance,
Dhaval Panchal
Regards,
Satish Kumar
I got solution for this error.
Actually there was some unsupported characters (for xml).
&, < and >
I have replaced these charecters with belos
"&" with "&"
"<" with ">"
and
">" with "<"
and it works fine.
Thanks for your reply.
Thanks,
Dhaval