The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
When calling the courses API I get a 504 Gateway Time-out error at random times. This is not a consistent error, but is happening once per month at least and I cannot find a cause to this problem. It doesn't seem to be related to outages and is always a 504 error when requesting 100 per_page from the courses endpoint API.
Does anyone have any experience with this error and anything they tried that may have worked?
Happened to me this morning too.
I, [2021-03-25T06:25:26.893253 #163982] INFO -- response: Status 504
This happens when Canvas is having trouble or communication between your device and Canvas are having trouble.
The only suggestion I have is if the response body looks like:
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.