Danger
err:unkey:data:app_not_found
Example
What Happened?#
This error occurs when you're trying to perform an operation on an app that doesn't exist in the Unkey system.
Common scenarios that trigger this error:
- Using an incorrect app ID in your request
- Referencing an app that has been deleted
- Attempting to access an app in a workspace you don't have access to
- Using a root key that lacks a permission covering
read_appfor the app (a missing permission returns not found so app existence is never leaked)
How To Fix#
Verify that you're using the correct app ID and that the app still exists in your workspace:
- Check the app in the Unkey dashboard
- Verify the app has not been deleted
- Confirm the app ID belongs to the workspace your root key is in
- Ensure your root key has a permission covering
read_appon the app's project
Related Errors#
- err:unkey:data:project_not_found - When the requested project doesn't exist
- err:unkey:data:workspace_not_found - When the requested workspace doesn't exist