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

Trending GIFs returns empty image JSON objects #251

Open
valeriyo opened this issue Apr 30, 2023 · 0 comments
Open

Trending GIFs returns empty image JSON objects #251

valeriyo opened this issue Apr 30, 2023 · 0 comments

Comments

@valeriyo
Copy link

The trending GIFs endpoint (https://api.giphy.com/v1/gifs/trending) sometimes returns JSON objects with no fields (completely blank):

image

Can you not do that???? If there is no downsized image - don't include it in the response! Empty objects break serialization field requirements in strongly typed languages (like Kotlin) since now all of a sudden, we have to allow the image object to have all nullable fields. This sucks ass, guys. Fix it please.

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

No branches or pull requests

1 participant