Failed to download metadata for repo brave-browser-rpm-release

THIS IS THE ERROR I GET EVERY TIME I ATTEMPT TO DOWNLOAD METASPLOIT.

Error: Failed to download metadata for repo ‘brave-browser-rpm-release.s3.brave.com_brave-core.asc’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
created by dnf config-manager from https://brav 0.0 B/s | 0 B 00:00

The repo file seems to be messed up, so disable it:

sudo dnf config-manager --disable brave-browser\*

If you still need it, then carefully follow the official instruction:
Installing Brave on Linux | Brave Browser