Forum Discussion
Joe Wu
Sep 20, 2023Copper Contributor
A problem when download OneNote file using OneDrive api by curl
Hi Everyone, When I try to download onenote files by OneDrive api, curl returns 56 when sending download requests for some onenote files. Below is one of the details of the api request/reponse. I h...
Anonymous
Oct 12, 2023The error code 56 in curl indicates a failure in receiving network data. This error may be caused by a lack of TLS 1.2 support on your Linux clients. TLS 1.2 is a security protocol that OneDrive requires for authentication.
To fix this issue, you may need to update your Linux clients to support TLS 1.2 or higher, or disable DHE cipher suites.
Regarding your second question, the OneNote API is suitable for downloading all components of an OneNote file and restoring the backup file to M365 OneDrive/SharePoint.
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |