duffey / spicetify-ai-playlist-images

Quickly generate and save Spotify playlist images using DALL·E 3
1 stars 0 forks source link

Error "billing hard limit reached" on first attempt with a new api key #1

Closed machinemessiah closed 5 months ago

machinemessiah commented 6 months ago

This is the data returned by the request to https://api.openai.com/v1/images/generations (code 400):

{
    "code": "billing_hard_limit_reached",
    "message": "Billing hard limit has been reached",
    "param": null,
    "type": "invalid_request_error"
}

API key is stored with the key spicetify-ai-playlist-images:openai-api-key in local storage, so no issue with that.

Subsequent attempts have the same result.

duffey commented 6 months ago

Seems pretty self-explanatory. I think you need to check your OpenAI settings.

machinemessiah commented 6 months ago

Seems pretty self-explanatory. I think you need to check your OpenAI settings.

I wasn't aware this required a GPT4 subscription, I assumed it was using GPT3.

duffey commented 5 months ago

Ah, OK. I'm not sure. I might need to add a better error message