https://server:port/api/v1/_async('OLTJUN4E4XFBAoV1fiSrQsmK9tn1U')
Status Code: 404
Content: {"error":{"code":"278","message":"Resource '/api/v1/_async('OLTJUN4E4XFBAoV1fiSrQsmK9tn1U')' not found"}}
Is it always 404 or just after the first check and you see the job has completed? The async jobs are cleaned up after it has completed and has been polled i.e. if I check on an async job and it's completed it won't be there anymore if I try to check on the same job 5 minutes later.
If you're always seeing 404, it may because you're polling from a separate session id. The async job is session specific, you can't check on the status of some other thread's job, even if it was executing under your ID.
"If you're always seeing 404, it may because you're polling from a separate session id. The async job is session specific, you can't check on the status of some other thread's job, even if it was executing under your ID."
Oh, that's a good hint. I was trying to access the async object on a separate http session. This was it.