Canvas api/file end point issue : file size NULL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024
01:02 PM
I think this is a bug that held up our quota_purge applications the other day.
The file was valid in files...
I have seen in past on failed download and chunk left behind end in .part and still have a file size attached to the .part.
But I will leave this here hopefully to save some poor soul from spending hours trying to figure our what is going on.
CanvasFile {
Id: xxx,
Uuid: aAxZ4KxkJBonovELPQxCTJvoJ0tvrgxQmJaUZxJxxpEAzGnxcx2J6,
FolderId: xxx,
DisplayName: WIN_20230425_11_50_07_Pro.mp4,
Filename: WIN_20230425_11_50_07_Pro.mp4,
ContentType: ,
Url: https://xxx.instructure.com/files/xxx/download?download_frd=1&verifier=aAZ4KkBonovEPQCTvoJ0tvrgQmJaUZpEAzGnc2J6,
Size: ,
CreatedAt: 2023-04-25T16:57:47Z,
UpdatedAt: 2023-04-25T16:57:47Z,
UnlockAt: ,
Locked: False,
Hidden: True,
LockAt: ,
HiddenForUser: True,
ThumbnailUrl: ,
ModifiedAt: 2023-04-25T16:57:47Z,
MimeClass: video,
MediaEntryId: m-2bCFSPVVGxH6969kFVEf7HJm8n9EN99hhER,
LockedForUser: False,
LockInfo: ,
LockExplanation: ,
PreviewUrl:
}