Skip to content

perafly.jsonc is not valid

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

On this page
Code
config_invalid
HTTP status
422

What it means

perafly.jsonc in the version isn't valid, so the version wasn't deployed. detail names the field and the reason.

A typical detail: <detail>

What to do

Fix the field and publish again. Adding "$schema": "https://perafly.com/schemas/perafly.json" lets your editor check the file as you type.

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.

{
  "type": "https://perafly.com/docs/errors/config_invalid",
  "title": "perafly.jsonc is not valid",
  "status": 422,
  "code": "config_invalid",
  "detail": "<detail>",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes