Just invited to the private beta and using curl API I get error: insufficient_quota

I had thought that there was no payment needed for using the CODEX while in private beta but when I try to access from command line I get

url https://api.openai.com/v1/engines/codex/completions -H “Content-Type: application/json” -H "Authorization: Bearer "$OPENAI_ACCESS_TOKEN -d ‘{“prompt”: “This is a test”, “max_tokens”: 5}’

{
“error”: {
“message”: “you exceeded your current quota, please check your plan and billing details”,
“type”: “insufficient_quota”,
“param”: null,
“code”: null
}
}

2 Likes

Same man :(. I dont know what Im doing wrong but it does not work

Maybe the free tier is restricted now. Have you tried adding a card in the billing options?