Unauthorized: access to the requested resource is not authorized

Got this error message during deployment, which causes a failure:

docker push quickly/card_factory:$CIRCLE_SHA1
The push refers to a repository [docker.io/quickly/card_factory] (len: 1)

docker push quickly/card_factory:$CIRCLE_SHA1 returned exit code 1

unauthorized: access to the requested resource is not authorized Action failed: docker push quickly/card_factory:$CIRCLE_SHA1

but the previous docker login step passes:

docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
WARNING: login credentials saved in /home/ubuntu/.docker/config.json
Login Succeeded

any help on what could be causing the problem?

======== debug info ========

Is this happening consistently? Are you using the default pre-installed version of Docker? Are you sure that the repository name doesn’t contain any typos?

We’re getting this error too - e.g. https://circleci.com/gh/weaveworks/weave/5585

We push five images; the first few succeed and then one fails. The names haven’t changed recently.

I enabled ssh and ran the push myself several times - it would intermittently succeed or fail.

I’m also facing the same issue all of a sudden. can you please tell what was the solution?