REST API Won't Update Leads in Partitions | Community
Skip to main content
September 8, 2015
Solved

REST API Won't Update Leads in Partitions

  • September 8, 2015
  • 2 replies
  • 3457 views

Hi,

I've seen a few discussions on this already in the community, but no answer has been provided by either Marketo or community member. I have a ticket open, waiting for a response...

We have partitions within our instance and are using our REST API to update leads upon form fills on our .com site. Our dev team has built this out previously (before partitions were added to our instance) and everything worked fine with creating new and or updating existing leads in the system.

Ever sense moving to partitions and workspaces, only new leads will be created in the system. We continue to experience a "partition update not allowed" error. Our api user has full permissions throughout the workspaces and permissions to all partitions.

Can anyone advise on how to update an existing lead through REST with partitions?

Thank you,

Tim

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

This recent blog post should also be helpful: http://developers.marketo.com/blog/how-to-specify-lead-partitions-using-the-rest-api/

2 replies

September 8, 2015

Are you specifying the partition when you upsert the leads? It's required to do so when you have partitions enabled in your instance, as noted here: Create/Update Leads » Marketo Developers

Kenny_Elkington
Adobe Employee
Kenny_ElkingtonAdobe EmployeeAccepted solution
Adobe Employee
September 8, 2015
September 8, 2015

Thanks Kenny this is helpful. Quick question if you don't mind.

If a lead already exists in a partition, do we first have to make the call to figure out the partition it's in and then two call again to update the lead in the correct partition?

September 8, 2015

Hi,

What if you have leads coming from various partitions? Can you identify 1. the leads existing partition and 2. update that lead in that partition?