Using the new bulk apis? | Community
Skip to main content
jim_jim_lam_Lam
Level 2
June 19, 2017
Question

Using the new bulk apis?

  • June 19, 2017
  • 5 replies
  • 5742 views

Has anyone been able to use the new bulk apis?​ Whenever I try to use the create job or get job (or even the sample call provided in the docs), nothing is returned to me - even though I get a 200 response status.

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

5 replies

June 19, 2017

I am also unable to get this to work.

When I try and use a POST (as in the documentation example) I get:

{

    "requestId": "f0a2#15cc145664d",

    "success": false,

    "errors": [

        {

            "code": "605",

            "message": "Request method 'POST' not supported"

        }

    ]

}

When I use a GET:

{

    "requestId": "13a38#15cc144eab6",

    "result": [],

    "success": true

}

Justin_Norris1
Level 10
June 19, 2017

Maybe @Kenny Elkington​ can help on this one.

Kenny_Elkington
Adobe Employee
Adobe Employee
June 19, 2017

You know what I need, Yim.

jim_jim_lam_Lam
Level 2
June 19, 2017

Hi Kenny. Can you direct me into finding what you are asking for? I am using this exact example, and there is nothing returned to me.

Kenny_Elkington
Adobe Employee
Adobe Employee
June 19, 2017

Of course, there was a typo in the doc.  The path to create a job is "/bulk/v1/leads/export/create.json"  not "/bulk/v1/leads/export.json".  I've corrected the docs.

jim_jim_lam_Lam
Level 2
June 19, 2017

Figured it out, /rest/ isn't supposed to be there.

June 19, 2017

Did it work after you correct the URL? I can submit the request, but the job itself is stuck in "Queued" status.

See: Bulk API: extracting activities job stuck in Queued status

jim_jim_lam_Lam
Level 2
June 19, 2017

Hi Ko-Chih! I didn't attempt to go any further, but I would imagine that it would eventually start processing after some time. Per the document, it says: This will respond with a status of “Queued” after which it will be set to “Processing” when there is an available export slot.

Perhaps someone from Marketo can chime in on what an "available export slot" means - is it a global Marketo shared slot or is it specific to our own Marketo instance?

Neil_Robertson6
Level 4
June 22, 2017

No errors for me following the docs, I can successfully request/grab the data - but - the mix of plain text separated by comma and JSON is extremely odd and useless IMHO.   For now I would stick to using a connector like Kingswaysoft (though I will think about how I can use this API going forward)