> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Source error

> The source answered with an error, so the media couldn't be fetched. Try again later. Code SOURCE_ERROR on a failed job.

```json theme={null}
{
  "success": true,
  "data": {
    "jobId": "8f2a6c1e-4d7b-4e0a-9b3c-2e5f7a9d1c84",
    "status": "failed",
    "message": "The source answered with an error, so the media couldn't be fetched. Try again later.",
    "code": "SOURCE_ERROR",
    "documentationUrl": "https://www.importly.io/docs/errors/source-error",
    "retryable": true,
    "retryAfterSeconds": 900
  }
}
```

The site answered the request with an error instead of the page or the media, for example "403 Forbidden" or a server error. Importly already tried again on its own before failing the job. Nothing is charged for the failed job.

## How to fix

Submit the same request again later, such as after 15 minutes (`retryAfterSeconds`). Sites refuse requests for a while during outages and traffic spikes, and a later try usually works.

If the same URL keeps failing over several hours, open it in a browser. Some sites only serve a video to viewers in certain countries or to signed-in users, and those links fail the same way every time. If a link that plays in a private browser window keeps failing, email [support@importly.io](mailto:support@importly.io) with the `jobId`.

## In a pipeline

Requeue the job after `retryAfterSeconds`, and give up after a few tries spread over a day. Don't retry it right away: the site hasn't changed its mind a second later.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.