Ubuntu 20.04.4 Ec2 not able to see release file from repository

I am trying to install Docker Desktop/Engine/Compose on an Ubuntu 20.04 AWS AMI that has been provided by Nutanix Frame and using the docker installation docs located Install Docker Engine on Ubuntu | Docker Documentation however whenever I run a sudo apt update I get the error The repository ‘Index of linux/ubuntu/ \ Release’ does not have a release file. Im not behind any proxy either.

Any thoughts would be appreciated.

Please disregard. This now works.