err:unkey:data:portal_already_existsportal.createPortal or portal.updatePortal clashed with an existing portal. Nothing was created or changed. You get HTTP 409.
Example response
Likely causes
- The slug is already used in your workspace:
That slug is already in use. - The app or keyspace already has a portal:
That app or keyspace already has a portal.Each one can back only one portal across all workspaces, so the existing portal may be one you can’t see. - Two requests clashed at the same moment. You get the generic message shown above.
How to fix
- For a slug clash, pick another slug or update the existing portal.
- For an app or keyspace clash, find the existing portal with
portal.getPortalby app or keyspace. If you can’t see one in this workspace, it’s in another workspace.
Related errors
err:unkey:data:portal_not_found: the portal or the mapped resource isn’t visible to you.err:unkey:authorization:insufficient_permissions: your root key may not point a portal at that app or keyspace.