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

# source_url_not_allowed

> Source url not allowed: HTTP 422 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 422 | `none` | `fix_request` |

## What happened

Source url not allowed. For example: The URL points to a private address.

## What to do

Use a public http(s) URL on port 80 or 443 (YouTube, Google Drive or Vimeo for now).

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/source_url_not_allowed",
  "title": "Source url not allowed",
  "status": 422,
  "detail": "The URL points to a private address.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "source_url_not_allowed",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Use a public http(s) URL on port 80 or 443 (YouTube, Google Drive or Vimeo for now).",
  "errors": [],
  "reason": "address"
}
```

## Operations that return it

* [importMedia](https://docs.api.rask.ai/operations/importMedia.md)


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