Success

    HTTP 202 Accepted

    The request was accepted for processing, but the work has not finished. Used for jobs that run in the background after the response is sent.

    Check a URL for HTTP 202

    Paste any URL to see whether it currently returns 202. Runs a live HTTP probe and follows redirects.

    TL;DR

    202 means "received, not done yet". The server has queued the work and will finish it in the background. It is not a promise that the work will succeed, so the client has to check the result later.

    What does HTTP 202 mean?

    HTTP 202 Accepted tells the client that the server has taken the request and will deal with it later. Nothing has been completed yet, and the job may still fail. It is the standard answer for work that takes too long to finish inside one request, such as generating a report, sending a batch of emails or processing an upload. A well-built API returns a link in the response where the client can check on progress.

    Common Causes

    • •An API that queues long-running work such as exports, imports or video processing
    • •Webhook receivers that acknowledge an event first and process it afterwards
    • •Batch endpoints that accept many items and work through them in the background
    • •Email and messaging APIs that accept a message for later delivery

    How to Fix It

    1. 1.Nothing is broken: 202 is a success code. Treat it as "in progress", not "finished"
    2. 2.Look in the response body or the Location header for a status address, and poll it until the job reports done or failed
    3. 3.If you expected an immediate result, check the API documentation for a synchronous option or a completion webhook
    4. 4.If you build the API, always give the client a way to learn the outcome: a status endpoint, a webhook or both

    SEO Impact

    A normal web page should not return 202. Google's documentation says Googlebot waits a limited time for the content and then passes on whatever it received, so a page that answers 202 with an empty or partial body can be indexed without its content.

    Monitor HTTP 202 with LemWatch

    If a page you monitor starts returning 202, the content is being built after the response. Check that the page body is complete, not only that the status is in the 2xx range.

    Frequently Asked Questions about HTTP 202

    What is the difference between 200, 201 and 202?

    200 means the request succeeded and the result is in the response. 201 means it succeeded and created something new. 202 means the request was accepted and the work has not been done yet.

    Can a 202 request still fail?

    Yes. 202 only confirms the request was accepted. The background job can fail later, which is why the client needs a status address or a webhook to find out.

    Free Website Tools

    Check your site for common issues that cause HTTP errors: