You need to sign in to do that
Don't have an account?

Why can't I query all fields of Lead with the bulk API?
I am using the bulk API to fetch leads from Salesforce. The SObject Lead has, among others, the default field Fax and MobilePhone. However, the following query fails:
SELECT Name,Fax,MobilePhone FROM Leadwith the following error:
[Error: InvalidBatch : Failed to process query: INVALID_FIELD: SELECT Name,Fax FROM Lead ^ ERROR at Row:1:Column:13 No such column 'Fax' on entity 'Lead'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.]Why can't i query these fields although they appear as standard fields under Customize -> Leads -> Fields?
Good luck,
John
thanks for the answer! Actually Field Level Security is my problem. My user's role is System Administrator. Which other role would you advise for unlimited API acess?
Erik
Good luck,
John