I fairly often make zip files that upload to OneDrive thereby allowing me to create a download Share link through the right-click context menu of the compressed zip file.
For some reason, I just started getting this error, which is remarkably lacking in helpful information.
Other observations that may help deduce what's going on:
Older zip files on the same machine DO allow a right-click without error
This does not appear to be connected to OneDrive. I tried directly on C: and on a NAS. All newly created .zip files get the above error.
I improved the situation somewhat by trying the procedure to copy the Default Send To feature to my User profile. https://answers.microsoft.com/en-us/windows/forum/all/compress-folder-option-missing-after-latest/97a2c251-1b2a-4052-9c9a-bf6f4b001a2b. Result: There's still the same error, but clicking OK brings up the context menu anyway and a OneDrive Share can be created. Still, it's not supposed to have an error.
My desktop has the issue. I created another zip file made on my laptop in the same OneDrive folder. Once it syncs to the desktop, that zip file CAN be right-clicked on the desktop without error. The laptop is behaving without error. This says it's something in the creation of new zip files on the desktop.
How can I repair or replace this Send To Compressed Folder functionality?