---
page_type: error
code: 63047
message: "63047: Link to a sample media file returned an invalid Content-Type"
level: ERROR
product: Programmable Messaging
---

## Description

The link to the media file does not have a Content-Type header set to an accepted MIME type. As a result, the template was not created.

### Possible Causes

- The web server hosting the media file is not sending Content-Type headers
- The web server hosting the media file is sending an invalid Content-Type header

### Possible Solutions

- Make sure the web server hosting the sample file returns either `image/jpeg`, `image/png`, `application/pdf`, or `video/mp4` for the `Content-Type` header.