-
Assignment Selection Placement error
When I'm trying to launch my external tool deep linking assignment selection from the Canvas assignment settings submission type->external tool menu I get "Page Error. Something broke unexpectedly." I'm not logging anything on my server, so I think the request is not sent at all from canvas. A submission type placement…
-
CORS Error when attempting to fetch Calendar Feed
An front end web app I have made fetches the canvas calendar feed and is meant to render it. It works for other applications but for canvas, I am getting a cors error and the only way to bypass this is by using a proxy. I have tried using a proxy and it works, but this is not an ideal solution. Is there a way to fix this?…
-
HTML to Create Tabs That Work for Keyboard Navigation
If I make tabs with the code below and then save the page and try tabbing through it, the first tab does not highlight. That means I can't see I am on that tab. If I know I am on the first tab, I can then move between the tabs by using the arrow keys. Does anyone know what needs to be added to this code to make the first…
-
Is course_id (for outcomes) same is SIS Id?
Hello CDG, I'm new to Canvas API. I'm looking for clarification on whether the course_id described here (Outcomes csv import documentation) is the same as a SIS Id? If so, how is importing outcomes handled when two sections (with different SIS IDs) are bound together? If not, how can I retrieve all course_id s for my…
-
Access to User Agent list?
Due to an acquisition, we are looking to unify instructional design across various modalities with a user base that engages with our courses via desktop, mobile browser, and iOS/Android apps. To help us make informed decisions, we are looking to find (or create) a list of User Agents to help with this process. Does anyone…
-
Canvas API Error with user suspend
Using the API we're having no problems at all creating students, enrolling them and fetching completions. However, when changing a student from suspended to unsuspended (PUT action) I get the following error: {"status":"unauthorized","errors":[{"message":"user not authorised to perform that action"}]} The request is a PUT…
-
How To Make A Test Created In Unity Publish a Grade to The Gradebook
Hi there, I am trying to create a probabilistic multiple choice test (like in the picture below), I have created it within Unity, hosted it using an Amazon S3 bucket, and embedded it in a Canvas page. How would I now make it so that when they finish it their final score can be pulled from the application and published to…
-
LTI 1.3 OIDC Auth Fails with Invalid Scope Error on Test Server
For the past few months, LTI 1.3 OIDC authentication has been failing on our test servers with this error: "A requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner. The following scopes were requested, but not granted: openid." Everything works fine on our production server,…
-
Is there any API available for uploading the grades in the Gradebook?
Hi, Is there any API available for the below grade upload functionality? So that we can avoid the manual upload and programmatically feed the Grade data in Canvas Gradebook from outside world? How do I import grades in the Gradebook? - Instructure Community - 807 (canvaslms.com) If there is any API available, please…
-
Live API - Quiz Submission Events
Trying to run get /v1/courses/{course_id}/quizzes/{quiz_id}/submissions/{id}/events via Live API and getting "specified resourcse does not exist" error. I'm using Canvas course ID for course_id, the quiz ID (not the assignment_id from speedgrder), and student Canvas ID for id. I saw an earlier post (2015!) that said make…
-
Canvas API for Quiz Banks Questions and Answers Missing
Hello, I'm experiencing a problem using the Canvas LMS APIs. In particular I need to extract the text of questions and answers in the quizzes using this API: /api/quiz/v1/courses/:course_id/quizzes/:assignment_id/itemsAs an example I provide you the link of an assignment that caused me…
-
dynamic registration suddenly getting 422 "Unprocessable Entity"
I am attempting to make a dynamic registration process for an LTI tool so that it can be added to Canvas. I had it working but I'm now getting "Unprocessable Entity" when I post to the canvas-specified endpoint with the provided token. The register body is as follows (slightly redacted). Any suggestions? Could it be a…
-
Canvas Flexbox and Canvas Student mobile app
I've been working on a course, and I've been using the Canvas Flexbox. In most cases my intention with the .xs- and .lg- classes was to ensure in mobile view that the content would adapt into a single column for a better mobile experience, and that has worked well, however I've been trying to add a situation where it is…
-
Search user by search_term issue
Whenever I turned on the Enforce Scopes of a Dev key, I'm unable to use the function to search user by search_term. I even enabled all scopes and still get error "Insufficient scopes on access token" /api/v1/accounts/self/users?search_term=:search_key&include[]=email Am I missing something here? Thanks.
-
Canvas GraphQL API Missing Data
How do I retrieve the submission history for an assignments with GraphQL? In the REST API you need to manually specify to include submission_history. This is one of many fields that is seemingly inaccessible, is there any plans to bring the GraphQL API to feature parity?…