Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when the apikey is use out money it return EOF? #87

Closed
hcws opened this issue Feb 25, 2023 · 3 comments
Closed

when the apikey is use out money it return EOF? #87

hcws opened this issue Feb 25, 2023 · 3 comments
Labels
question Further information is requested

Comments

@hcws
Copy link

hcws commented Feb 25, 2023

maybe then you use out money ,it should return error ,like
You exceeded your current quota, please check your plan and billing details.

this is a apikey for test : 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

@tsingroo
Copy link

encounter the same problem

@young-steveo
Copy link
Contributor

I think this might be resolved by #248

I was getting the exceeded quota error which would cause this library to panic with error, json: cannot unmarshal number into Go struct field APIError.error.code of type string, but the library now parses the error correctly.

@vvatanabe vvatanabe added the question Further information is requested label Jul 1, 2023
@vvatanabe
Copy link
Collaborator

I'm closing this because it appears to have already been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants