# Unauthorized: access to the requested resource is not authorized

**URL:** <https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469>\
**Category:** Build Environment\
**Created:** [January 12, 2016, 1:54am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469 "2016-01-12T01:54:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzanet](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rzanet](https://discuss.circleci.com/u/rzanet)\
**Post date:** [January 12, 2016, 1:54am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469/1 "2016-01-12T01:54:19Z")

</div>

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](http://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 ========

---

<div class="post-metadata">

**Author:** ![alexey](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alexey/32/42_2.png) [@alexey](https://discuss.circleci.com/u/alexey)\
**Post date:** [January 13, 2016, 9:51am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469/2 "2016-01-13T09:51:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![bboreham](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/bboreham/32/12825_2.png) [@bboreham](https://discuss.circleci.com/u/bboreham)\
**Post date:** [April 28, 2016, 10:24am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469/3 "2016-04-28T10:24:47Z")

</div>

We’re getting this error too - e.g. [https://circleci.com/gh/weaveworks/weave/5585](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.

---

<div class="post-metadata">

**Author:** ![ishantiw](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/ishantiw/32/16705_2.png) [@ishantiw](https://discuss.circleci.com/u/ishantiw)\
**Post date:** [August 21, 2017, 11:25am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469/4 "2017-08-21T11:25:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:37am UTC](https://discuss.circleci.com/t/unauthorized-access-to-the-requested-resource-is-not-authorized/1469/5 "2018-06-18T11:37:55Z")

</div>

Closed on June 18, 2018, 11:37am UTC


