---
title: "Discussion on \"The agent treated the 202 Accepted response as done and never polled the job\" | Hashnode"
description: "Discussion on \"The agent treated the 202 Accepted response as done and never polled the job\". The backfill API returned 202 Accepted with a job id, the agent logged the response and reported done, and never checked whether the worker finished. The job failed in the background, and the report came back empty on the first real run."
url: "https://hashnode.com/posts/agent-took-202-accepted-as-done-never-polled-job/6ae28615d764e9e3aefc01dc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The agent treated the 202 Accepted response as done and never polled the job](https://blogs.powerduck.com/agent-took-202-accepted-as-done-never-polled-job?utm_source=hashnode&utm_medium=feed)

The backfill API returned 202 Accepted with a job id, the agent logged the response and reported done, and never checked whether the worker finished. The job failed in the background, and the report came back empty on the first real run.

Oct 28 · 3 min read · blogs.powerduck.com  
Read the article

-   [#aiagents](https://hashnode.com/tag/aiagents)
-   [#asyncjobs](https://hashnode.com/tag/asyncjobs)
-   [#verification](https://hashnode.com/tag/verification)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
