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
Puneet_MishraPuneet_Mishra 

UNKNOWN_EXCEPTION: Content is not allowed in prolog.

Hi All,

I have started with Salesforce BULK API and installed cURL using cURL download wizard for 64 bits.
I have also created login.txt file as mention in guide and tried to run the curl command 
[ curl https://login.salesforce.com/services/Soap/u/38.0 -H "Content-Type: text/xml; charset=UTF-8" -H "SOAPAction: login" -d @login.txt ] but getting an error 
UNKNOWN_EXCEPTION: Content is not allowed in prolog.

cmd error
 
Please Help
Best Answer chosen by Puneet_Mishra
Puneet_MishraPuneet_Mishra
Sorry Guys, I apologize. I made a very silly mistake. My login.txt file was in different folder and I haven't specified the path.