err:unkey:data:permission_already_existspermissions.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
- Reuse the existing permission (find it with
permissions.listPermissions), or pick a different slug.
Related errors
err:unkey:data:permission_not_found: a referenced permission doesn’t exist.err:unkey:data:role_already_exists: a role name collides.