You don't have sufficient permissions for this operation, but it works when you run it again
I’m having two types of problems. When making a request to /v1/threads/thread_6****/messages, the error below occurs, but when I send it again after a while, it works correctly without changing the API key: Authorization failed - please check your credentials
You have insufficient permissions for this operation. Missing scopes: api.threads.write. Check that you have the correct role in your organization (Reader, Writer, Owner) and project (Member, Owner), and if you’re using a restricted API key, that it has the necessary scopes.
This error occurs when I make a request to the assistants, but it also works if I wait a while and run it again; it’s intermittent.
401 You have insufficient permissions for this operation. Missing scopes: api.assistants.write. Check that you have the correct role in your organization (Reader, Writer, Owner) and project (Member, Owner), and if you’re using a restricted API key, that it has the necessary scopes.
Discussion in the ATmosphere