Issues with the Canvas Live API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi All,
Is anyone else having trouble accessing the drop-down menus on the Canvas Live API site?
Whenever I try to expand one of the rows, I just get no response from the page.
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @wguida,
I have seen some chatter on this issue on a different chat platform, and one of my colleagues from UMich, Matt Jones, posted a temporary workaround there. I'll paste it here:
---
Local override method:
- Browse to /doc/api/live (where the page will be broken)
- Open developer tools (right click inspect or more tools menu), go to Sources tab.
- Ctrl-O or ⌘-O and search for swagger.js
- Right click and Override content, choose a location to save
- Modify line around 510 from
this.isCollection = this.dataType && (this.dataType.toLowerCase() === 'array' || this.dataType.toLowerCase() === 'list' || this.dataType.toLowerCase() === 'set');
to
this.isCollection = Array.isArray(this.dataType) ? true : this.dataType && ['array', 'list', 'set'].includes(this.dataType.toLowerCase());
Refresh.
---
Someone else there was informed by Canvas support that an official fix is scheduled to go to production on Feb 26.
I hope this info helps!
-Chris