A Microsoft file hosting and synchronization service.
Since both generating a new embed code and viewing an existing embedded presentation fail intermittently—and then work again without changes—this likely points to a temporary PowerPoint for the web/OneDrive service issue rather than an error in your HTML.
Please test PowerPoint for the web in an InPrivate/Incognito window with browser extensions disabled and, if possible, on another network.