Use perafly.jsonc instead of vercel.json
What the config_file_not_allowed error from the Perafly API means and what to do about it.
- Code
config_file_not_allowed- HTTP status
- 422
What it means
The version contains vercel.json or now.json. Perafly generates the hosting configuration itself and doesn't accept these files.
A typical detail: Redirects, rewrites, headers and crons go in perafly.jsonc; Perafly generates the hosting configuration.
What to do
Move redirects, rewrites, headers and cron jobs to perafly.jsonc, which uses the same field names, and remove the file.
Read more: perafly.jsonc
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.