# `ATTACHMENT_TYPE_NOT_ALLOWED` This file type cannot be attached

Source: https://checkslip.com/en/problems/attachment-type-not-allowed

- **HTTP status**: `415`
- **Credit**: No credit taken

## Meaning

Only PNG, JPEG, WebP, PDF or plain text can be attached (HTML or SVG text files are refused).

## Fix

Save it as a PNG/JPEG image or a PDF and attach it again. Renaming the file does not help.

## Example response

```
{
  "type": "https://checkslip.com/problems/attachment-type-not-allowed",
  "title": "This file type cannot be attached",
  "status": 415,
  "code": "ATTACHMENT_TYPE_NOT_ALLOWED",
  "instance": "01a18600-0000-7000-8000-000000000000"
}
```
