Microsoft one drive SDK exception


  • How to resolve the microsft one drive SDK exception.

    The scenario is when we upload a mutiple pages(like 200 pages and more) into one drive using MVC .net application it throws an SDK exception error.How could we overcome this issue..This issue has occurs after the file has been merged and converted into OCR using C# code

    Error:Microsoft onedrive SDK Exception was thrown.

    • Edited by GUNA SEKAR Monday, February 6, 2017 10:24 AM
    Monday, February 6, 2017 10:23 AM

All replies

  • Hi Guna,

    This error message is too general and for a better troubleshooting, I suggest you can check what's the real exception type is thrown, we can use the code like below to check it:


    IsMatch method in oneDriveException class will validate if the exception is ItemNotFound or other types.

    More information:

    Exception Handling in OneDrive API

    Also, as this is more related to OneDrive SDK development, I would suggest you can create a new thread in the OneDrive development forum:


    Best Regards

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Tuesday, February 7, 2017 7:09 AM