Skip to main content
err:unkey:data:portal_not_found
No portal in your workspace matches the ID, slug, app, or keyspace you sent. You get HTTP 404.
Example response

Likely causes

  • The slug or ID is wrong.
  • You addressed the portal by an app or keyspace from another workspace.
  • Your root key doesn’t have permission to read the portal. On portal.createSession, it needs create_portal_session. The message is the same either way.

How to fix

  1. Check the slug or ID in the dashboard’s portal settings.
  2. If you address the portal by app or keyspace, use one from this workspace.
  3. For portal.createSession, make sure the root key has the create_portal_session permission on the portal.
Last modified on October 6, 2026