Intermittent 401 scope errors on key with "All" permissions — spikes randomly, no config changes
OpenAI Developer Community
April 11, 2026
same here.
getting random:
{“error ”=> {“message ”=> “You have insufficient permissions for this operation. Missing scopes: api.threads.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. ”, “type ”=>“invalid_request_error ”, “param ”=>nil , “code ”=>nil}} api key (user api key) have all permission and the error is intermittent
Discussion in the ATmosphere