SOLVED

Error 1007 : Multiple lead match lookup criteria

Go to solution
nishank
Level 1

Error 1007 : Multiple lead match lookup criteria

Hello Dev community,

We have encountered that one of our customer that our Marketo integration have multiple leads with same email Id, now we wan't to sync data from our platform to marketo , only lookup field we have is emailId. The api is returning status as "skipped" with error code 1007 and message

{
    "requestId": "17f38#184e1787787",
    "result": [
        {
            "status": "skipped",
            "reasons": [
                {
                    "code": "1007",
                    "message": "Multiple lead match lookup criteria"
                }
            ]
        }
    ],
    "success": true
}

Is there any cleaner way of doing this i.e. passing a param in request which updates this for all the leads matching lookup field criteria.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Error 1007 : Multiple lead match lookup criteria

Please show the JSON request, not just the response.


Is there any cleaner way of doing this i.e. passing a param in request which updates this for all the leads matching lookup field criteria.

There are no API methods that update more than one lead using the same lookup field value.

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Error 1007 : Multiple lead match lookup criteria

Please show the JSON request, not just the response.


Is there any cleaner way of doing this i.e. passing a param in request which updates this for all the leads matching lookup field criteria.

There are no API methods that update more than one lead using the same lookup field value.