The only difference is that i am <a href="http://paydayloansonlineget.com/">instant payday loan</a> uploading a custom object type. I can access Employee_c. But now i get a different error
stateMessage='InvalidBatch : Field name not found : First Name'
First Name is the first column in the csv.
While debugging i can see that the temp csv is being created correctly. However i get this error when checkResults executes. The code is exactly the same as in the sample java code for bulk api using REST.
I am using the free developer version of salesforce. I did check permissions of fields in employees. They are all at max visibility and read/write
As you are working with a custom object __c needs to be appended. Try FirstName__c
If you're working with a standard object (Contact, Lead) - it's FirstName...no spaces.
-Andy