Error while trying to communicat with OpenAIAPI

The error as i get from Postman:
“error”: {
“message”: “You have insufficient permissions for this operation. Missing scopes: model.request. 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.”,
“type”: “invalid_request_error”,
}

I have checked:

  1. API permissions - All
  2. Correct Secret Key
    what else ?

Welcome @ofirbnaim

Sharing the code for the API call that leads to this would be helpful.

2 Likes