# ASSET_TYPE_NOT_ALLOWED: Not a type of file Coho stores

> Coho reads a file's type from its bytes, not its name or the type you declared, and this kind of file is not one it stores.

Sent by the management API (400). The page: https://coho-cms.com/errors/asset-type-not-allowed/

## What to do

Upload PNG, JPEG, GIF, WebP, AVIF, HEIC, SVG, PDF, MP3, WAV, MP4, QuickTime, or WebM.

## The response

```json
{
  "code": "ASSET_TYPE_NOT_ALLOWED",
  "type": "https://coho-cms.com/errors/asset-type-not-allowed",
  "title": "Not a type of file Coho stores",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}
```

Every error code: https://coho-cms.com/errors/
