Import Lead Error Message | Community
Skip to main content
December 5, 2014
Question

Import Lead Error Message

  • December 5, 2014
  • 10 replies
  • 2938 views

Posting gives:

Content type 'multipart/form-data;boundary=OFFBSLmEbplIdH2dZWxu4IMYRF8j4Vwdaxz6ZHd3' not supported

Please advise as to the issue. 

Per documentation, the l
eaddata.csv is being posted as "multi part form data".

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

10 replies

Josh_Hill13
Level 10
December 5, 2014
Josh,
Can you be clearer about what you are attempting to do and where? You posted this in API, but are talking about a CSV file, so it's not clear if you are doing this via API or something else.

It might help to create a support ticket for this one.
December 5, 2014

Yes, I am using the Import Lead REST API;

DOC URL: http://developers.marketo.com/documentation/rest/import-lead/

December 5, 2014
Full Response as follows:

{"requestId":"3bc6#14a1c501966","success":false,"errors":[{"code":"612","message":"Content type 'multipart/form-data;boundary=OgfGSKuqHJaNjgksbWWEY_63_bBePJHO0' not supported"}]}
December 5, 2014
When specifying Content-Type in header of my POST (value="multipart/form-data) I recieve the following:

{"requestId":"33d6#14a1c7d2652","success":false,"errors":[{"code":"611","message":"System error"}]}

 
February 12, 2015
Hello - any luck on this? I have a similar issue with the Import Lead rest API. Here's the response:

{"requestId":"eb22#14b7f03cd7a","success":false,"errors":[{"code":"611","message":"System error"}]}

Any thoughts on further troubleshooting would be really helpful.
February 12, 2015
Yes; I was able to get this to work!
  1. Using a basic HTTP POST with the actual csv file.
  2. Check your post URL. The documentation previously had /rest/v1 - since its been updated. EXAMPLE: https://018-APH-439.mktorest.com/bulk/v1/leads.json?access_token=XXXXX&format=csv
  3. The csv file format was also a mystery, which i figured out trial and error. You can use this template that is correct: https://www.dropbox.com/s/vcywrwi3ksf29ay/import.csv?dl=0 
  4. Dont specify any content-type in your post / header
February 13, 2015
Josh - Thanks!!!

I'm still having trouble, though I believe I'm close. I'm getting the error message 1002: "Missing value for required parameter 'format'" although the value is obviously there. Here's the json for my post:

Starting job Pro_Drip_RestClient at 15:14 13/02/2015.

{
"format":"csv",
"lookupField":"email",
"listId":"49394",
"file":"....some long stream of base64 encoded csv file..."
}

here's the response:
 
{
"requestId":"930b#14b84cb1800"
,"success":false,
"errors":
[{
"code":"1002",
"message":"Missing value for required parameter 'format'"
}]
}

Anyone have any thoughts?
February 13, 2015
Do you have &format=csv in your post URL? EXAMPLE: https://018-APH-439.mktorest.com/bulk/v1/leads.json ?access_token=XXXXX &format=csv
February 13, 2015
Thanks Josh. That brought me back to the System error (611)...
February 14, 2015
Hmmmm. Not sure then. There APIs are very trial and error, unfortunately