Skip to main content
General·HTTP 422·API, CLI, FE

Folder not found

path_not_found

The repository has no folder at the path sent, at the branch, tag or commit read.

What this means​

The path is misspelled, names a file rather than a folder, or the folder exists only on another branch.

How to fix it​

Send the path of a folder inside the repository, such as apps/web, relative to its root. Leave it out to read the root.

Retry behavior​

Sending the same request again gets the same answer.

How it appears in the response​

ComputeSphere returns errors as RFC 7807 Problem Details. The type field is the docs URL for this page — switch on code in your client.

{
"type": "https://docs.computesphere.com/errors/path_not_found",
"title": "Folder not found",
"status": 422,
"code": "path_not_found",
"detail": "The repository has no folder at the path sent, at the branch, tag or commit read.",
"instance": "/v2/…",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"trace_id": null
}

The Content-Type header is application/problem+json. On field-level validation errors a non-empty errors[] array also appears, each entry carrying its own docs_url for the offending field.