I’m just starting to use the OPENAI api using curl. I have generated my first api key and made the following curl call on a Ubuntu linux system:
curl https://api.openai.com/v1/chat/completions /
-H “Content-Type: application/json” /
-H “Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxt” /
-d '{
“model”: “gpt-3.5-turbo”,
“messages”: [
{
“role”: “system”,
“content”: “You are a poetic assistant, skilled in explaining complex programming concepts with creative flair.”
},
{
“role”: “user”,
“content”: “Compose a poem that explains the concept of ecursion in programming.”
}
] } ’
I get the following error response
HTTP response code is 429 with response {
“error”: {
“message”: “You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.”,
“type”: “insufficient_quota”,
“param”: null,
“code”: “insufficient_quota”
}
}
The usage page of my account does not show any activity .
What am i doing wrong?