Forum Discussion
How to download a file from onedrive that is marked as virus-infected?
Digging a bit more, I looked at the url being called when clicking download. The domain called is:
https://my.microsoftpersonalcontent.com/personal/
with a parameter AVOverride=1
However, that parameter seems not to work as the error from that url is:
{"error":{"code":"malwareDetected","message":"Malware detected"}}
At this point, it looks like a bug that the AVOverride parameter is ignored
OK, so now I have even found an onedrive error report here. Don't you hate it when they close a ticket and many years later, it is still not fixed? Apparently closed because it is "tracked internally" in 2023:
https://github.com/OneDrive/onedrive-api-docs/issues/1626
- hem001May 04, 2025Copper Contributor
Is there any way to download this file? That is marked as malware. I was learning about php code and making notes but suddenly the file got marked as malware its completely false positive and still i am unable to download it :(
- AbsolutelyFreeWebMay 05, 2025Copper Contributor
They haven’t bothered to fix the bug. Solution is to use a real source code repository and never put your source on onedrive