Please return more specific error message.

#42
by c4fun - opened

Problem: Error message not clear

I have filled in both token and Send my request. After a few seconds, I got this response:

{‘error’: {‘message’: ‘You exceeded your current quota, please check your plan and billing details.’, ‘type’: ‘insufficient_quota’, ‘param’: None, ‘code’: None}}

I don't know which quota I've exceeded, the OpenAI one or the HuggingFace one. (Although after some research I sensed that is the OpenAI one. That is another topic.)

Proposal: Differentiate/Label error message with source

Sign up or log in to comment