AnsweredAssumed Answered

Postman bulk import of leads - no response?

Question asked by Phillip Wild on Jul 9, 2018
Latest reply on Jul 10, 2018 by Phillip Wild

Hi everyone

 

I'm trying to bulk update some leads. I have a csv file with Marketo ID in one column, and the field value I'd like to update in the other.

 

I'm using Postman to try and create the job using this documentation: http://developers.marketo.com/rest-api/bulk-import/

 

Here is what I'm trying to do in Postman:

 

https://REDACTED.mktorest.com/rest/bulk/v1/leads.json?format=csv&access_token=REDACTED&content-type=multipart/form-data;%20boundary=boundary&lookupField=id

 

(I read that the boundary field is sort of arbitrary - you can call it what you like)

 

My raw body:

 

--boundary
Content-Disposition: form-data; name="file"; filename="agent_clusters.csv"

id,agentCluster
515309,NGJ


--boundary--

 

And form-data:

 

agent_clusters, and the file I uploaded next to that in the Postman interface.

 

So when I do this, I get....absolutely nothing. Zero. No response at all, at least in the regular spot in Postman. Which of course, makes this quite difficult to troubleshoot! Any ideas? When I make the file bigger than 1mb I get a "file size exceeded" error, but other than that I can't get any response output at all.

Outcomes