Bulk Jobs Return Status of Aborted

Last Modified on 01/15/2019 10:30 am MST

So you're trying to download a large amount of data from Netsuite and keep getting an infuriating aborted message in the response JSON from your /bulk/{id}/status call that looks something like this...

And that makes a developer happy. And a happy developer makes for a happy CTO. And the world goes 'round.

By using a single session lock you are telling the Netsuite API to only deal with the current API call (in this case the bulk job) and to ignore all other requests. Otherwise, for longer calls, the stream will be interrupted , leading to "status": "ABORTED" ".