Skip to content

A file is blocked on Perafly

What the content_blocked error from the Perafly API means and what to do about it.

On this page
Code
content_blocked
HTTP status
451

What it means

A file in the manifest (path) was removed from Perafly for breaking the acceptable use policy. Perafly recognizes the file by its content, so renaming it doesn't help.

A typical detail: <path> was removed from Perafly for breaking the acceptable use policy and can't be published.

What to do

Remove the file from what you publish. If you think it's a mistake, contact support.

Read more: Publishing

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/content_blocked",
  "title": "A file is blocked on Perafly",
  "status": 451,
  "code": "content_blocked",
  "detail": "<path> was removed from Perafly for breaking the acceptable use policy and can't be published.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes