# Unable to locate repository with id

**URL:** <https://community.sonatype.com/t/unable-to-locate-repository-with-id/11143>\
**Category:** Sonatype Nexus Repository\
**Created:** [August 22, 2023, 10:09am UTC](https://community.sonatype.com/t/unable-to-locate-repository-with-id/11143 "2023-08-22T10:09:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![borisborisov03102001](https://avatars.discourse-cdn.com/v4/letter/b/e8c25b/32.png) [@borisborisov03102001](https://community.sonatype.com/u/borisborisov03102001)\
**Post date:** [August 22, 2023, 10:09am UTC](https://community.sonatype.com/t/unable-to-locate-repository-with-id/11143/1 "2023-08-22T10:09:13Z")

</div>

Created Task pypi\_sync. There is a sync error when running pypi\_sync.  
When synchronizing the pypi\_hosted\_1(source) repository and the pypi\_hosted\_2(target) repository, it says in the logs: Unable to locate repository with id pypi\_hosted\_2, File not uploaded: 404 Not Found from POST [http://0.0.0.0:8081/service/rest/v1](http://0.0.0.0:8081/service/rest/v1) /components?repository=pypi\_hosted\_2. The pypi\_hosted\_2 repository exists, the artifacts are in it and they are available. It is possible that Task pypi\_sync does not see pypi\_hosted\_2. Has anyone had similar problems?
