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

Better messages for API failures #21

Open
coatless opened this issue Aug 18, 2019 · 3 comments
Open

Better messages for API failures #21

coatless opened this issue Aug 18, 2019 · 3 comments
Labels
feature a feature request or enhancement

Comments

@coatless
Copy link
Contributor

As I'm playing with the API, the errors that pop up should have more detail or should be a warning instead of a pure error.

For example, I think there is an API rate limit that I inadvertently triggered that yielded:

Payment Required (HTTP 402).

The next error I feel should be a "soft" error or a flat out silent warning:

Error: A duplicate request was previously made for space

@tareefk
Copy link
Contributor

tareefk commented Aug 26, 2019

Do you see this issue on a regular basis? Do you have a reprex?

@coatless
Copy link
Contributor Author

The duplicate request comes up if there is a pre-existing invite sent out.
The payment required component was triggered after a mass request?

I can post the reprex code later tomorrow.

@kevinykuo
Copy link
Contributor

More informative errors would be nice here!

@kevinykuo kevinykuo self-assigned this Sep 20, 2019
@mine-cetinkaya-rundel mine-cetinkaya-rundel changed the title API Failures Better messages for API failures Dec 31, 2021
@mine-cetinkaya-rundel mine-cetinkaya-rundel added the feature a feature request or enhancement label Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants