Skip to content

Not a usable domain name

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

On this page
Code
domain_invalid
HTTP status
400

What it means

The sharing or custom domain change can't be made as asked.

A typical detail: Use a name like www.example.com.

What to do

Check the value the error names. Changing access or domains needs a person's full sign-in; agent and read-only profiles can't.

Read more: Domains and sharing

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/domain_invalid",
  "title": "Not a usable domain name",
  "status": 400,
  "code": "domain_invalid",
  "detail": "Use a name like www.example.com.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes