Access must be public or private
What the access_mode_invalid error from the Perafly API means and what to do about it.
- Code
access_mode_invalid- HTTP status
- 400
- Group
- Sharing and domains
What it means
The sharing or custom domain change can't be made as asked.
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.
Related errors
- access_change_forbiddenThis credential can't make the site public
- access_password_invalidPassword must be 8 to 72 characters
- domain_invalidNot a usable domain name
- domain_not_foundDomain not found
- domain_takenThis domain is already in use
- share_email_invalidNot a valid email address
- share_existsAlready shared with this person
- share_limitShare limit reached