Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

APIs Displaying the Data

Ali Abbas
Ali Abbas
8,772 Points

Getting a 429 error code (Too many requests)

429 error

Mark Westerweel
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Mark Westerweel
Full Stack JavaScript Techdegree Graduate 22,378 Points

Did you sign up for an account on GIPHY? The API endpoint in the vid is outdated and you get that error if you didn't get your own key.

Signing up is easy and takes about 2 minutes.

https://developers.giphy.com/

1 Answer

Could you provide a link to your code? It โ€˜s difficult to debug without being able to run the code and see what happens.

But too many requests could be caused by some kind of infinite loop. For instance, if the route youโ€™re requesting redirects you back to the same route, you would end up with a โ€œtoo many requestsโ€ status.