# 63043: Link to a sample media file returns 403 Forbidden

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the sample media URL returns `403 Forbidden`, which prevents Twilio from retrieving the file.

### Possible causes

* The media server requires authorization, so Twilio cannot access the file without credentials or a valid token.

### Possible solutions

* Host the sample file at a publicly accessible URL that Twilio can fetch without authentication.
* If you must protect the file, use a URL that includes a valid access token or another authorization mechanism that allows Twilio to retrieve the media.

#### Additional resources

* [twilio/media](/docs/content/twilio-media)
* [Protect media access with HTTP basic authentication](/docs/usage/security#protect-media-access-with-http-basic-authentication)
* [Media subresource](/docs/messaging/api/media-resource)
