REST API: Error Code 1004 attributing lead to campaign by ID | Community
Skip to main content
May 19, 2016
Solved

REST API: Error Code 1004 attributing lead to campaign by ID

  • May 19, 2016
  • 1 reply
  • 5272 views

We're currently receiving error code 1004 while attempting to attribute a lead to a campaign by lead ID. This behavior is unique to a specific client.

We deliver the lead data, the API returns a success response with an ID for that lead, we then use that ID to attribute the lead to a campaign, the API returns a failure: [{"code":"1004","message":"Lead [12345678] not found"}]}

Is there something the client could have done in their campaign setup to have caused this? I've tested on other accounts and campaign delivery is working fine.

Thanks

-Martin

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kenny_Elkington

Yep, we're able to pull that lead from the customer's account using the ID manually.

Client is saying the lead does not show up in their lead database, although the API indicates otherwise? Is there something the client could be doing in their campaign to prevent leads from showing up for them?


Unlikely, this probably needs to go to support.

1 reply

Kenny_Elkington
New Participant
May 19, 2016

Do you have an example request where you're receiving this?

May 19, 2016

Sure thing, see attached.

​Original file deleted.

Kenny_Elkington
New Participant
May 19, 2016

Looking it over now, but you should probably delete that file and the associated custom service