Getting a 504 error while trying to connect to Simple Books API (Postman beginner's course on Youtube)

Hi I’m trying to learn Postman using this freecodecamp tutorial https://www.youtube.com/watch?v=VywxIQ2ZXw4

There’s an API that is used for this course that should be available, but I’m getting a 504 error while trying to connect

This is the API documentation: https://github.com/vdespa/introduction-to-postman-course/blob/main/simple-books-api.md

Please fix this. Seems like a great course and want to follow along :slight_smile:

Some of the requests returned with responses for a while before again saying 502 Bad Gateway.

The status endpoint has always returned with 504.

I tried again after several hours. It’s working now! Would be nice to know why it wasn’t working earlier.

Welcome there,

Some things to note:

  1. That video course was created by a contributor, it is best contacting them directly if you have bugs to report
  2. The course is 2 years old. Some of the information might be outdated.
  3. The api is hosted on glitch.com. Glitch offers free hosting, and if an application has not been used in a while, they sleep the app. Once someone tries to use it, they start waking the app up again, but it can take a few minutes to wake an app up. So, it is likely you will get 500s or request timeouts during this time.

Hope this clarifies

1 Like

Thank you so much. That helps a lot! Will definitely be reporting bugs directly to contributors from now on.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.