Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't pull Packages image from AWS ECS Task

Sindi Ziu
December 18, 2025

Hello,

I hope you're doing well.

I pushed an image to the new Bitbucket Packages, and added its URI to a new Task Definition in my AWS ECS cluster. Tried to deploy this task through a service and I'm getting this error:

Task stopped at: 2025-12-18T13:25:28.020Z
CannotPullContainerError: pull image manifest has been retried 7 time(s): failed to resolve ref <image-uri>: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://crg.apkg.io/auth/registry-token?scope=repository%3Apcbf%2F<repo>%3Apull&service=crg.apkg.io: 401 Unauthorized
I dont see anything regarding authentication within the Packages page, only a digest string and URI, how do i authenticate my Task to pull it?
Thank you in advance,
Sindi

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events