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

# MEDIA_URL_NOT_ALLOWED

> HTTP 400, from 5 operations of the Admin API.

Its problem `type`: `https://developers.tassyir.io/errors/media-url-not-allowed`.

## What to do

HTTP 400. An image is not on `https://cdn.tassyir.io/` and not already on the
resource (`field`, `url`). Upload it with `POST /images` first
([Products and collections](/guides/products-and-collections#bring-an-image-onto-the-cdn)).

## Answered by

HTTP 400, from:

* [`PATCH /collections/{id}`](/api-reference/admin/collections/update-a-collection)
* [`PATCH /products/{id}`](/api-reference/admin/products/update-a-product)
* [`PATCH /products/{id}/variants/{variantId}`](/api-reference/admin/products/update-one-variants-fields)
* [`POST /collections`](/api-reference/admin/collections/create-a-collection)
* [`POST /products`](/api-reference/admin/products/create-a-product)

The shape of every problem, and how `@tassyir/app` reports it: [Errors](/guides/errors).


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