I am having an issue where sending requests to text-moderation-007 receives this error:
Error code: 403 - {‘error’: {‘message’: ‘Project proj_xxxxx does not have access to model text-moderation-007’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘model_not_found’}}
I am sending requests through LiteLLM like so:
response = moderation(input=message_content, model=“text-moderation-stable”)
But have also tried the python and curl requests available on the API reference docs.
I had this issue before and it solved itself but a while before coming back.
Has anyone solved this other than recreating the project? That isn’t working for me.
Check the rights of your project and your API key, along with the API key being from by a credit-funded API account organization. You can create a user key that doesn’t depend on rights.