Issue Summary
I’m experiencing persistent permission errors with admin keys that have been granted “All” permissions. Multiple admin keys (both existing and newly created) are failing with insufficient permission errors for basic operations.
Error Messages
json
{
"error": {
"message": "You have insufficient permissions for this operation. Missing scopes: api.management.read. Check that you have the correct role in your organization, and if you're using a restricted API key, that it has the necessary scopes.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
json
{
"error": "You have insufficient permissions for this operation. Missing scopes: api.model.read. Check that you have the correct role in your organization (Reader, Writer, Owner) and project (Viewer, Member, Owner), and if you're using a restricted API key, that it has the necessary scopes."
}
What I’ve Tried
-
Verified I’m the Organization Owner -
Created multiple new admin keys with “All” permissions -
Used Organization Admin Keys (not project keys) -
Waited 30+ minutes for permission propagation -
Tested with different API endpoints -
Verified account billing status is active -
Still getting 401 errors for admin API calls
Key Details
-
Account Type: Organization Owner
-
Key Type: Organization Admin Keys (created from
/organization/admin-keys) -
Permissions Set: “All”
-
Scope Errors:
api.management.read,api.model.read -
Status: Both existing and newly generated admin keys fail
Suspected Issue
This appears to be a system-level bug in the admin key permission management. Similar issues have been reported where keys show “All” permissions in the UI but actually have empty/null scopes internally.
Question
Has anyone successfully resolved this issue? Is there a known workaround, or should this be escalated to OpenAI support as a platform bug?
Any help would be greatly appreciated!