Salesforce User ID and getLead method | Community
Skip to main content
December 22, 2014
Question

Salesforce User ID and getLead method

  • December 22, 2014
  • 1 reply
  • 1015 views
please help me to understand what the issue is:

In Marketo my Salesforce ID (SFDC ID) is: 00Qb00000076xGcEAI
but in SalesForce my SFDC ID is not the same, it is : 00Qb00000076xGc

The same situation for another created leads in SalesForce.

I am using this SFDC ID in our app and getLead method (http://developers.marketo.com/documentation/soap/getlead/ ;
leadKey->keyType  = SFDCLEADID) but it fails always because SFDC is different
please compare:
00Qb00000076xGcEAI
00Qb00000076xGc

How can it be? Can you please expain me?
Looks like it is impossible to use getLead method to search leads by SFDC ID.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Valerie_Armstro
Level 9
December 22, 2014
Hi Alexander,

There are two types of Salesforce IDs
  • 15 digit case-sensitive version which is referenced in the UI (from your example: ID = 00Qb00000076xGc)
  • 18 digit case-insensitive version which is referenced through the API (from your example: ID = 00Qb00000076xGcEAI)
It looks like you may need to get the 18-digit Salesforce ID to use the getLead call in Marketo, as Marketo stores the 18-digit ID.  More info on how to get the 18-digit ID over at the Salesforce Developer Community.