Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

API ratelimit exceeded does not return a meta object #185

Open
Aimarekin opened this issue Nov 4, 2018 · 2 comments
Open

API ratelimit exceeded does not return a meta object #185

Aimarekin opened this issue Nov 4, 2018 · 2 comments
Labels

Comments

@Aimarekin
Copy link

Aimarekin commented Nov 4, 2018

While messing around with the Giphy API, I got rate limited and errors started invading my console. The problem was the result didn't have a meta object, instead, it just had a msg.

{"message": "API rate limit exceeded"}

If this is intended behavior, it should be noted on the docs, because https://developers.giphy.com/docs/#response-codes says a meta object will be returned, something that doesn't happen when being rate limited.

Thank you.

@Aimarekin
Copy link
Author

Same happens when using an invalid token.

@shwetaatgiphy
Copy link

hi @Aimarekin
Thank you for bringing this to our attention. I've informed the necessary team internally!
We'll share an update when available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants