---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/63044#article
headline: "63044: Link to a sample media file returns 404 Not Found"
url: https://www.twilio.com/docs/api/errors/63044
inLanguage: en
dateModified: 2026-03-26T11:40:11.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 63044: Link to a sample media file returns 404 Not Found

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the sample media URL returns `404 Not Found`, so Twilio can't retrieve the file. For media and content templates, the sample URL must resolve to a publicly hosted file.

### Possible causes

* The media file does not exist at the URL you provided.
* The URL path is incorrect, including the file name, directory, or file suffix.
* If you use a variable in the media URL, the sample path does not resolve to a publicly hosted file.

### Possible solutions

* Update the URL so it points to the correct file path and the file is available.
* Confirm the link opens in your browser and resolves to a publicly accessible file.
* If the URL uses variables, provide a valid sample path so the combined URL resolves to a publicly hosted file.

#### Additional resources

* [twilio/card](/docs/content/twiliocard)
* [twilio/media](/docs/content/twilio-media)
* [Accepted content types for media](/docs/messaging/guides/accepted-mime-types)
