Skip to main content
err:unkey:data:permission_already_exists
A permission with the same slug already exists in your workspace, so permissions.createPermission didn’t create one. You get HTTP 409.
Example response

Likely causes

  • You already created this permission. Slugs are unique per workspace.

How to fix

  1. Reuse the existing permission (find it with permissions.listPermissions), or pick a different slug.
In provisioning code, treat a 409 as success and continue.
Last modified on October 6, 2026