Forum Discussion
Nick_B_2024
May 10, 2024Copper Contributor
OneDrive download issue: 401 Unauthorized
Hello, I'm Nick. Our team built a WordPress plugin written in PHP that integrates OneDrive as a remote storage solution. Recently, some users have reported issues downloading backups from One...
BG_107
Jun 06, 2024Copper Contributor
We've encountered something similar recently as we've started to see download links coming from my.microsoftpersonalcontent.com instead of files.1drv.com.
In the case of these new links, when we make the download request we have found that the 'Bearer' value in the header needs to be the 'tempauth' value from the download URL instead of the original OAuth token. Hope this helps.