Skip to content

Path must start with public/ or private/

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

On this page
Code
storage_path_invalid
HTTP status
400

What it means

Storage paths start with public/ or private/.

What to do

Put files people may open under public/ and everything else under private/.

Read more: Storage and SFTP

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/storage_path_invalid",
  "title": "Path must start with public/ or private/",
  "status": 400,
  "code": "storage_path_invalid",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes