uploading a file in canvas from local machine is failing

Jump to solution
Heman
Community Member

I have followed documentation guide for uploading a file and tried the same

Uploading Files - Canvas LMS REST API Documentation (instructure.com)

In canvas, my file is uploaded, but image is not appearing as original file

 

Attached my canvas file SS and postman requests

 
 

 

Labels (1)
0 Likes
1 Solution
cstrikwerda
Instructure
Instructure

I reached out to our team about this, and we were seeing with Avatars, we have to whitelist domains if we are trying to upload a URL into our profile picture. If you file a support ticket with Canvas Support, we should be able to make sure we are making the correct API call, and are able to whitelist any domains needed to be able to upload a file via API into the profile pictures folder. Please open a support ticket and we should be able to help with that.  https://community.canvaslms.com/t5/Canvas-Basics-Guide/How-do-I-contact-Canvas-Support/ta-p/389767

View solution in original post

0 Likes