Hi Manpreet,
In order to avoid “Parser was expecting element” error in data loader, kindly check the following settings in Apex Data Loader
- Check whether you have given the proxy correctly.
- Check whether you have given the port number correctly.
- Check whether you have given the correct url(for Production – https://login.salesforce.com and for Sandbox – https://test.salesforce.com).
- Make sure “API Enabled” permission is checked on the Profile.