After applying a custom master page to the site some pages or all of them display a 401 error.
This happens on collaboration sites and system pages namely Team Sites where you have minimal download strategy feature activated.
This feature is active by default in this sites but if you will be using custom master pages is a good practice to deactivate it.
On Publishing sites, it’s deactivated by default so you will not experience this issue.
- Apply back the Seattle master page, even though your site is displaying a 401 error you are still able to access to the master page gallery using this url:
As an alternative you can open the site withSharePoint designer, open the master page gallery and with a right click in the Seattle master page define it as the Default and Custom master
- Go to Site Settings -> Manage Site Features
- Deactivate the Minimal Download Strategy feature, don’t forget to deactivate it for all the site where you will be using the custom master page
- Go to Site Settings -> Master Page and apply your custom master page again