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.
Found this content helpful? Log in or sign up to leave a like!
Self-hosted installation. When editing a page, we see some 404 errors in the javascript console trying to load the following urls:
https://canvas.example.edu/api/session
https://canvas.example.edu/api/folders?contextType=course&contextId=77
Not sure what the first one is for, but the second message means the "Files" tab along the right side is disabled. There are a couple other javascript errors as well, but they come after this and I believe are simply the result of missing these other script objects.
Looking further at that area on the right, in the "Links" tab, we get additional 404 errors in the javascript console if we expand any of the sections, resulting in a "Loading Failed" message. For example, expanding the "Discussions" section inside the Links area produces a 404 error in the javascript console for this address:
https://canvas.example.edu/api/discussions?contextType=course&contextId=77
And we see this on the page:
77 is the correct course id, and the same thing happens for all of our courses.
This is related to these other questions, which have incomplete or no solutions posted:
https://community.canvaslms.com/thread/19398-how-do-i-fix-a-loading-failed-message
https://community.canvaslms.com/thread/15417-edit-page-loading-failedno-resultsHow do I fix a Loading Failed Message?
I'm not surprised these URLs produce 404 errors, since they don't match anything in config/routes.rb... but where are they coming from? How can I fix it? What could be going on here?
Solved! Go to Solution.
Was able to fix that.
1. It requires RCE API server to be up and running https://github.com/instructure/canvas-rce-api
2. It should be accessible from the outside:
rich-content-service:
app-host: "mycanvasdomain.com/rce"
RewriteEngine on
RewriteRule "^/rce/(.*)$" "http://localhost:3333/$1" [P]
ProxyPassReverse "/rce/" "http://localhost:3333/"3. After Apache2 restart, browser now used correct "/rce/api/session" requests which was forwarded to RCE api server.
Okay, the problem is related to this groups thread and missing the RCE service:
I have things working temporarily by turning off the "Rich Content Editor Sidebar Enhancements" feature. I'll need to get the new RCE service (linked below) set up to really have things right again:
https://github.com/instructure/canvas-rce-api
The URLs requested by canvas will not change ( canvas.example.edu/api/* ), so I'm not exactly sure how to go about setting this up. The installation docs are kind of light, and since I'm new to Passenger/Ruby and don't (yet) know how to get this service listening or routed to the /api location, but I'll find something.
Was able to fix that.
1. It requires RCE API server to be up and running https://github.com/instructure/canvas-rce-api
2. It should be accessible from the outside:
rich-content-service:
app-host: "mycanvasdomain.com/rce"
RewriteEngine on
RewriteRule "^/rce/(.*)$" "http://localhost:3333/$1" [P]
ProxyPassReverse "/rce/" "http://localhost:3333/"3. After Apache2 restart, browser now used correct "/rce/api/session" requests which was forwarded to RCE api server.
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