'Docker Key error preventing access to apt

Anytime I attempt to use any function using apt, such as sudo apt update, I get this set of errors:

E: Invalid value set for option Signed-By regarding source https://download.docker.com/linux/ubuntu/ focal (not a fingerprint) 
E: The list of sources could not be read.
E: Invalid value set for option Signed-By regarding source https://download.docker.com/linux/ubuntu/ focal (not a fingerprint)
E: The list of sources could not be read.

I am unable to uninstall Docker, as that uses sudo apt uninstall, and no inputs that are supposed to fix they key have helped.

The LIST file in question is as follows, if that helps:

 deb [arch=amd64 signed-by=usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu focal stable

Thanks for your time and for whatever help can be provided.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source