alfredapp / openai-workflow

OpenAI integrations
BSD 3-Clause "New" or "Revised" License
67 stars 32 forks source link

Workflow error: EXCEEDED QUOTA... Except my quota is fine. #8

Closed yarub123 closed 8 months ago

yarub123 commented 8 months ago

Workflow version

2024.4

Alfred version

5.5

macOS version

14.4

Debugger output

[14:51:01.494] Logging Started...
[14:51:06.082] ChatGPT / DALL-E[Keyword] Processing complete
[14:51:06.100] ChatGPT / DALL-E[Keyword] Passing output 'why is the sky blue?' to Arg and Vars
[14:51:06.102] ChatGPT / DALL-E[Arg and Vars] Processing complete
[14:51:06.103] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Call External Trigger
[14:51:06.105] ChatGPT / DALL-E[External] Processing complete
[14:51:06.106] ChatGPT / DALL-E[External] Passing output '' to Write Text File
[14:51:06.108] ChatGPT / DALL-E[Write Text File] Processing complete
[14:51:06.110] ChatGPT / DALL-E[Write Text File] Passing output '/Users/juicyslut/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.openai/chat.json' to Arg and Vars
[14:51:06.112] ChatGPT / DALL-E[Arg and Vars] Processing complete
[14:51:06.114] ChatGPT / DALL-E[Arg and Vars] Passing output 'why is the sky blue?' to Text View
[14:51:06.195] ChatGPT / DALL-E[Text View] Running with argument 'why is the sky blue?'
[14:51:06.341] ChatGPT / DALL-E[Text View] Script with argv 'why is the sky blue?' finished
[14:51:06.346] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true,"stream_marker":true},"response":"### why is the sky blue?\n\n"}
[14:51:06.446] ChatGPT / DALL-E[Text View] Running with argument 'why is the sky blue?'
[14:51:06.575] ChatGPT / DALL-E[Text View] Script with argv 'why is the sky blue?' finished
[14:51:06.581] ChatGPT / DALL-E[Text View] {"rerun":0.1,"variables":{"streaming_now":true},"response":"…","behaviour":{"response":"append"}}

[14:51:06.679] ChatGPT / DALL-E[Text View] Running with argument 'why is the sky blue?'
[14:51:06.814] ChatGPT / DALL-E[Text View] Script with argv 'why is the sky blue?' finished

[14:51:06.823] ChatGPT / DALL-E[Text View] **{"response":"[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.]  \n(Fri, 08 Mar 2024 22:51:06 GMT)","behaviour":{"response":"replacelast"}}**

More details

I asked why the sky is blue. Attempted to create new chat and start from earlier (even though no earlier exists because it's first run of workflow).

I went to my account, checked my api, everything is perfect. I tested chatGPT (3.5) and it's working. No error from their end. This is the error:

image

Thanks a lot Victor, you're truly a lovely specimen.

vitorgalvao commented 8 months ago

Unfortunately, I’m unable to assist there. That error is not in the workflow, the message between the square brackets comes verbatim from OpenAI’s API response. You’ll have to contact them if you believe that is a mistake.

Have a great weekend!

yarub123 commented 8 months ago

@vitorgalvao Okay! Thanks for the prompt response Vitor!

(It's just weird because chatGPT works with bettertouchtool and on openai's website... just not with this workflow 🙃)

vitorgalvao commented 8 months ago

Using OpenAI’s website is not the same thing as using the API, and BetterTouchTool looks to include their own key. So I don’t see anything weird there, it’s still perfectly possible that your own key is above some quota.

Again, that error message is verbatim from the API response. Even if the error were incorrect, there’s nothing I could do because that’s the information they are providing. Only they and you have the sufficient context about your account to investigate further.

danielb2 commented 8 months ago

perhaps it's prudent to make clear somewhere that paying for chatgpt's chat feature does not give one access to the API, and that's completely seperate? i.e. ChatGPT and the OpenAI API are not the same, and are not billed the same