When I try to create a OneNote file in a Document Library by clicking on 'New Document', it gives me this error message "Invalid template Type 4"
The below are the errors from ULS log:
1. Unable to write SPDistributedCache call usage entry.
2. Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domainName\userName, ClaimsCount=118
3. UserAgent not available, file operations may not be optimized.
4. Application error when access /_layouts/15/CreateNewDocument.aspx, Error=Invalid template type 4. at Microsoft.SharePoint.ApplicationPages.CreateNewDocument.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
5. Microsoft.SharePoint.SPException: Invalid template type 4. at Microsoft.SharePoint.ApplicationPages.CreateNewDocument.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
6. Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Invalid template type 4.