• Erik Muttersbach 6
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
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 Lead
with 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?

 
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 Lead
with 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?