Bulk API: extracting activities job stuck in Queued status | Community
Skip to main content
Jun 19, 2017 9:08 PM UTC
Solved

Bulk API: extracting activities job stuck in Queued status

I submitted a bulk API request for retrieving activities 2 days ago. However the status is stuck in "Queued". What should I expect in terms of the processing time, e.g. when it will move from "Queued" to "Processing" and how long the processing itself will take?

Here is a sample curl. You can see it has been 2 days since the job get queued:

$ curl -X GET $MKTO_URL/bulk/v1/activities/export.json -H "authorization: Bearer $MKTO_TOKEN"

{"requestId":"4448#15cc225567f","result":[{"exportId":"e0277059-d03e-4c1c-8546-941632cfce2b","format":"CSV","status":"Queued","createdAt":"2017-06-17T10:03:09Z","queuedAt":"2017-06-17T10:05:28Z"}],"success":true}

$ date -u

Mon Jun 19 21:00:45 UTC 2017

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kenny_Elkington
Kenny_ElkingtonAccepted solution
Level 10
Jun 20, 2017 8:46 PM UTC

We believe the queued->processing issue has been resolved.  Jobs which were stuck in queued should be getting picked up into processing now.  There's a few other failure types we're seeing and investigating though.

14 replies

Kenny_Elkington
Kenny_ElkingtonAccepted solution
Level 10
Jun 20, 2017 8:46 PM UTC

We believe the queued->processing issue has been resolved.  Jobs which were stuck in queued should be getting picked up into processing now.  There's a few other failure types we're seeing and investigating though.

Translate
Alec_Dibble
Level 1
Jun 20, 2017 5:10 PM UTC

We are also seeing the same issue. Enqueued 2 jobs yesterday afternoon and they are still in the "Queued" state.

Translate
Kenny_Elkington
Level 10
Jun 20, 2017 6:02 PM UTC

We've got an engineering escalation open now and are looking into the issue.

Translate
Jun 20, 2017 7:41 PM UTC

I know that you're working on it now, so just an FYI, I'm now seeing jobs processing, but they've been ending in system errors:

{

"requestId": "..."

"result":

 
{

"exportId": "..."

"format": "CSV"

"status": "Processing"

"createdAt": "2017-06-20T19:32:23Z"

"queuedAt": "2017-06-20T19:32:32Z"

"startedAt": "2017-06-20T19:34:08Z"

}

 

{

"exportId": "..."

"format": "CSV"

"status": "Failed"

"createdAt": "2017-06-20T18:43:00Z"

"queuedAt": "2017-06-20T18:43:13Z"

"startedAt": "2017-06-20T18:44:09Z"

"finishedAt": "2017-06-20T18:49:13Z"

"errorMsg": "System error"

}

 

{

"exportId": "..."

"format": "CSV"

"status": "Failed"

"createdAt": "2017-06-20T15:46:01Z"

"queuedAt": "2017-06-20T15:46:12Z"

"startedAt": "2017-06-20T18:34:16Z"

"finishedAt": "2017-06-20T18:39:08Z"

"errorMsg": "System error"

}

Translate
Jun 20, 2017 12:07 PM UTC

I'm having the same issue here as well. Let me know if you happen to hear back from support

Translate
Jun 20, 2017 3:58 PM UTC

I'm also having the same issue.  Interested to hear what you find.

Translate
Kenny_Elkington
Level 10
Jun 19, 2017 9:23 PM UTC

Can I assume that you don't also have a bunch of Bulk Leads Jobs queued as well?

Translate
Jun 19, 2017 10:17 PM UTC

No. This job is the only job that I queued.

$ curl -X GET $MKTO_URL/bulk/v1/leads/export.json -H "authorization: Bearer $MKTO_TOKEN"

{"requestId":"5be3#15cc26d63fd","result":[],"success":true}

$ curl -X GET $MKTO_URL/bulk/v1/activities/export.json -H "authorization: Bearer $MKTO_TOKEN"

{"requestId":"45f9#15cc26d3f5d","result":[{"exportId":"e0277059-d03e-4c1c-8546-941632cfce2b","format":"CSV","status":"Queued","createdAt":"2017-06-17T10:03:09Z","queuedAt":"2017-06-17T10:05:28Z"}],"success":true}

Translate
Kenny_Elkington
Level 10
Jun 19, 2017 10:27 PM UTC

In that case, I would encourage you to file a support ticket with the details.  Can you get any new jobs to start processing?

Translate