Error 401 making inferences in finetuned model

Hi.

I am getting this error when making inferences on a finetuned model. I have been making inferences for days and today I started getting this error.

Can anyone help me?

Error code: 401 - {‘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’, ‘param’: None, ‘code’: None}}

Welcome to the community.

Sounds like an API key permissions issue… did you swap keys recently?

No, I have had the same api key for months.

It could have very well have been the temporary increase in errors earlier today affecting fine tuning models that caused the 401 error. Here’s the specific status update from about 7 hours ago: Increased errors in fine-tuning models - OpenAI Status

I hope the issue has been resolved for you now @Arian_Pina.

2 Likes