Skip to content

This credential can't make the site public

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

On this page
Code
access_change_forbidden
HTTP status
403

What it means

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

A typical detail: The team keeps new sites private. Making one public needs a person with sharing permission and a full-access key; publish it private, then change access in Perafly.

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/access_change_forbidden",
  "title": "This credential can't make the site public",
  "status": 403,
  "code": "access_change_forbidden",
  "detail": "The team keeps new sites private. Making one public needs a person with sharing permission and a full-access key; publish it private, then change access in Perafly.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes