Import Lead Error Message

Anonymous
Not applicable

Import Lead Error Message

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".

Tags (1)
10 REPLIES 10
Josh_Hill13
Level 10 - Champion Alumni

Re: Import Lead Error Message

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.
Anonymous
Not applicable

Re: Import Lead Error Message

Yes, I am using the Import Lead REST API;

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

Anonymous
Not applicable

Re: Import Lead Error Message

Full Response as follows:

{"requestId":"3bc6#14a1c501966","success":false,"errors":[{"code":"612","message":"Content type 'multipart/form-data;boundary=OgfGSKuqHJaNjgksbWWEY_63_bBePJHO0' not supported"}]}
Anonymous
Not applicable

Re: Import Lead Error Message

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"}]}

 
Anonymous
Not applicable

Re: Import Lead Error Message

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.
Anonymous
Not applicable

Re: Import Lead Error Message

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
Anonymous
Not applicable

Re: Import Lead Error Message

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?
Anonymous
Not applicable

Re: Import Lead Error Message

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
Anonymous
Not applicable

Re: Import Lead Error Message

Thanks Josh. That brought me back to the System error (611)...