Cannot install anything from homebrew

I’m getting things like

Warning: Treating doxygen as a formula. For the cask, use homebrew/cask/doxygen
==> Downloading https://homebrew.bintray.com/doxygen-1.9.1.catalina.bottle.tar.g
##O=#  #                                                                      
curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading https://ghcr.io/v2/homebrew/core/doxygen-1.9.1.catalina.bottle.t
==> Downloading from https://github.com/-/v2/packages/container/package/homebrew
curl: (22) The requested URL returned error: 404 
Error: Failed to download resource "doxygen"
Download failed: https://ghcr.io/v2/homebrew/core/doxygen-1.9.1.catalina.bottle.tar.gz
The command "brew install doxygen" failed and exited with 1 during .

even on previously success builds. I think this happens today.

This likely means that the local metadata is out of date. You must’ve disabled automatic brew update.

Thanks.
I didn’t update anything but it’s now working as I triggered another built.