Not able to connect to Jfrog repository to get the docker images

We are using Terraform as infrastructure provisioning tool and we are able to create the infra as intended. We are using jfrog to store the artifacts, we are getting access denied when trying to connect to the jfrog repo from container. Checked all the conf but no luck, any inputs are appreciated.