-
Why is x-request-cost-header null
I am working on a solution to manage our requests to the Canvas API. While looking at the response headers I noticed that the X-Request-Cost header is null in the majority of responses that include it. For the last 24 hours only 27 out of 3401 requests have had a non-null value for X-Request-Cost. Can anyone tell me why…
-
How to get class roster user's phone number
Requirement: We are currently looking to integrate a phone feature into our LTI Tool. However, we are unable to retrieve the phone numbers of class roster users from Canvas(NRPS don't support). These numbers should be existed in the user profilesBackground: At present, we can obtain class roster user's the names, emails,…
-
LTI 1.3 Mismatching LTI Tools with NRPS services and oauth_consumer_key_sign
We have reported these two issues on the opensource repo tracker, but have gotten zero information or responses on them. Today, canvas will fail to handle the NRPS service in a migrated 1.1 assignment as it tries to use the wrong tool consumer and throws an error. The same thing happens with oauth_consumer_key_sign.…
-
Batch Export/Download Quizzes from Multiple Schools During a Time Period
Is there a way to use the Canvas API to batch download multiple quizzes from multiple schools and courses for a custom time period?
-
Advanced CSS and JavaScript/jQuery in Canvas
Hi, Friends. I come to Canvas as a webdev with a lot of WordPress experience. I'm piecing together a design library for my organization and want to include foundational components as well as a few fun things. Much of what I'm doing is going to be stored in Figma with the CSS being pulled into Canvas. Thing is, while I've…
-
Is there a way to detect which API endpoints are allowed when scopes are enforced?
We're looking for a way to know which schools who are implementing our app, which requires admins create an API developer key, are enforcing scopes, and if they're enforcing the correct ones. As we release new features we need to know schools have updated their allowed API endpoints before turning on a feature for a given…
-
using python to create pages into a module
I am wanting to automate the process from content in a word doc and using an API to create the modules and then the pages within the modules based a standardised theme. I can get it to create the content and the pages fine, It labels them correctly and then applies the theme as I want it to. But then makes the pages BUT…
-
Remove the "calculate grade based only on graded assignments" option
Hi! We do not run a traditionally graded course -- we run a professional education course. We'd like to remove the check box that is automatically checked that says "calculate based only on graded assignments." We'd like the grades tab always show their progress on all assignments so that there's no confusion about the…
-
Invalid Authorization Header in grade passback using LTI 1.0
Hello all, I'm trying to passback a grade using my tool into canvasLMS using LTI 1.0, but I'm getting "401 Unauthorized" "Invalid authorization header". The grade passback is working correctly in moodle and blackboard, but not in canvasLMS and I can't figure out why. It's very frustrating. Here's my nodejs code: const…
-
504 Gateway Time-out for quiz
I have been using the quiz api for years without problems but recently I am receiving 504 Tateway Time-out responses. Can anyone direct me to what needs to be fixed? Thanks, RS
-
CSS Style Changes
Hi We have used a CSS file for our courses for the last 2-3 years with out any issues and it has worked well. In the last few days something has changed so all of the columns are now aligned vertically in narrow columns next to each other rather than being vertically stacked in one single column. The page styling makes use…
-
Canvas iOS App not returning id_token on first launch
Hello I have a LTI 1.3 tool that is working perfectly directly in browsers. However, the Canvas iOS app seems to stop working randomly in that it won't send an id_token on the first launch after starting the app. If I hit "Done" on the embedded browser and retry, it works fine and then will continue to work just fine…
-
Hiding LTIs from Account/Admin Navigation Menu in a Specific Subaccount
Hi everyone, Long-time reader and browser, first-time poster! 😀 I'm one of the Canvas Account Admins at our institution, and I've been tasked with giving a member of our institution a subaccount admin role with very narrow parameters—easy enough through permissions. However, we've discovered we have some LTIs installed…
-
Steps to duplicate a course via the Canvas API
Hi - I'm just starting to dig into using the Canvas API - first task is to figure out how to copy a course. I've seen a few posts but most are at least a couple years old, so I'm going to repost just in case there's a more modern way to do it or if there are new resources/documentation available. I created a Test Course,…
-
Is it possible to launch an LTI assignment_selection placement item in a new window?
I'm creating a basic assignment selection placement LTI item and would like it to trigger a new window. Is that not possible? This is what my deep linking response message looks like but it still opens in an iframe: exp: Math.floor((Date.now() + 86400000) / 1000),iat: Math.floor(Date.now() / 1000),iss: payload.azp,aud:…