-
Delete User Error
I installed the Canvas system on an Ubuntu server. After two months, when I try to delete users from the Admin account in the Account > People menu, I get a "Page error." When I click the "Delete All Account" button, I get the error message "Failed to remove user successfully." Could this be related to an issue with Redis?
-
Issue with Canvas Live API: The Missing href tags
Hi All! We've been trying to use the Canvas Live API site to change some links within individual Canvas pages via the put option. Whenever we add the updated HTML code to the body field of the form, the output always excludes the updated href tags we've added. This leaves us with the classic blue text in Canvas, but with…
-
Reactivate a completed enrollment via API
I'm using the API doc here to attempt to re-activate an enrollment that's in the completed state: https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.reactivate I can confirm I'm formulating the URI and the request exactly as documented, but I keep getting a 400: Bad Request error response.…
-
Changing to a new computer
So my school computer is messing up so I'm switching to a new computer & I'm not sure how to get my log in information so that I can log in on my new computer. I also want to transfer all of my other log in information to my new computer so I wont have to reset everything. Please HELP!!
-
Variable Custom Launch Parameters in LTI 1.3
We have a vendor who wants us to create developer keys for each member institution, but the actual difference between each key is in a single custom parameter. Everything else is the same. Across 23 colleges, I'm looking at 90 developer keys (and deployments) for just one variable. Getting the vendor to change would be an…
-
Canvas Studio API authentication without Postman
Hello everyone, I’m trying to authenticate to the Canvas Studio API. I was able to follow this Studio OAuth Postman tutorial and retrieve a token via Postman (which requires a callback URL). However, I'm looking to use the API in a non-web-based app (which does not use a callback URL). Has anyone successfully authenticated…
-
Filtering Assignments by Grading Period
Is it possible to retrieve a user's assignments for a specific grading period using the API? Right now I use the List Assignments for User request to retrieve all of a user's assignments, and then remove assignments from that list by their due date. This process works just fine, but, by the middle of the year, the number…
-
User Assignments Returning All Course Assignments
I have some code that I have used for a while now which gathers information on students' weekly academic progress. Lately - roughly a month or so ago - I started to notice a problem in that code. I use this line of python to get a list of the assignments for a given user: assignments = user.get_assignments(course_id,…
-
Change "submitted_at" date in a submission via API
I've run into a quandary using the "decaying average" mastery calculations with objectives. It appears that the artifacts are ordered by the "submitted_at" element, and if any of these elements are missing a time stamp (i.e. the assignment was not submitted) they rise to the top of the list. The issue manifests as follows:…
-
Getting deep linking cancel in launch presentation claim
Deep link request is correct as per LTI spec but getting deep_linking_cancel in launch presentation claim. "https://purl.imsglobal.org/spec/lti/claim/launch_presentation": {"return_url":"https://{domain}.instructure.com/deep_linking_cancel?include_host=true"},
-
In canvas getting this error deep_linking_cancel?include_host=true
we had an issue in Canvas two week before onwards I am unable to create the assignment in Canvas for all courses, after creating the assignment return URL, it looks like this issue ltiLaunchPresentationURL, getting this error deep_linking_cancel?include_host=true
-
Differences in pulling Assignment Submission vs Quiz Submission
I am developing an application to view user course data. I am currently working on implementing Quizzes, which I've decided to implement as a subset of Assignments. Think a superclass "Assignable" with superclass "Submittable" I've noticed that using the `assignments?include=submissions' endpoint returns Submissions as an…
-
.NET C# client returning a 404 on a POST request to create a course
Hello everybody, We are using .NET C# to create an API client wrapper to automate some things. I've gotten it to work very well for many GET requests so far, but for some reason a POST to create a course is returning a 404 and I don't know why. I could post my code but not sure if that would benefit this discussion that…
-
API Permissions
What I've noticed is that when certain settings are not allowed such as below, the API cannot do it either, the api should always have higher permission to perform these tasks. If we want our SIS to be the authority source for pronouns, we should be able to not allow users to do it in Canvas but the api should still be…
-
Excel scripts to pull Canvas data
Hey, community. I have a task where I'm trying to pull Canvas API data into Excel using the script editor. When testing the code out in VS Code, I'm able to get a response back with the proper JSON. However, when I try to do it in Excel's Code Editor, nothing returns. Has anyone successfully achieved such a thing, or have…