SharePoint Online theme error – There was an error while attempting to get the themes
Recently when I was trying to change the theme of a SharePoint online site collection, it threw an error “There was an error while attempting to get the themes”
The error looks like the one shown below (Taken from Microsoft Tech Community)
To fix this error, the easiest method as of March 2020 is do the following.
- Click on “Classic change the look options” menu item shown in the screenshot above.
- Choose one of the theme.
- Preview it by clicking on “Try it out”.
- Then click on “Yes, keep it”
- Again load the home page
- Try changing the theme, and the error should be gone.
Thanks to Rob for providing the work around here.