The most recent content from our members.
We wanted a way to import selected data from selected Canvas tables into a Microsoft SQL Server instance in a way that can be scheduled for automation and required the smallest number of dependencies and tools. Using canvas-data-cli, we were able to accomplish this on a windows server with only node, Powershell, and the…
With the code below attempting to send a zip file to the sis_imports API, I am getting a PowerShell error, "Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send." $URL = "https://$APIDomain/api/v1/accounts/1/sis_imports" $headers = @{"Authorization"="Bearer "+$Token} $InFile =…
We have successfully used a PowerShell script to zip up a set of csv files and send them to Canvas via the API. Recently (actually it has been an issue for a while but I have been too busy to investigate!), the script has stopped working and I am receiving the following error: Invoke-WebRequest : The underlying connection…
If you are uploading CSV Imports (or zip files) to the SIS Imports API and are using PowerShell, would you care to share your syntax for setting up the Invoke-WebRequest? Thanks
Does anyone know the syntax for getting the text of a Canvas API error message in PowerShell? For example, the Canvas Live API Response Body gives me the following message when I try to update an enrollment for an ended course: { "message": "Can't add an enrollment to a concluded course." } How can I retrieve that message…
Sign in to enhance your access to articles, forums, and events—and to participate by sharing insights, engaging in discussions, and connecting with your network of edtech peers.