# I am unable to push an image to an AWS Elastic Container Registry

AWS Elastic Container Registry [requires users to pre-create all repositories](https://www.portainer.io/blog/using-portainer-with-aws-elastic-container-registry?hsLang=en) before they can be pushed to.

If the AWS Elastic Container Registry does not have a repository created, the user will receive the following error message while attempting to push an image in Portainer:

<figure><img src="/files/54lGyqfUTWdyajyYLQsq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/faqs/troubleshooting/registry-and-image-management/i-am-unable-to-push-an-image-to-an-aws-elastic-container-registry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
