# Troubleshooting shared slices feature in newly created repository

**URL:** <https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641>\
**Category:** Developing with Prismic\
**Created:** [March 23, 2021, 1:25pm UTC](https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641 "2021-03-23T13:25:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raimonds](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/raimonds/32/1918_2.png) [@raimonds](https://community.prismic.io/u/raimonds)\
**Post date:** [March 23, 2021, 1:25pm UTC](https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641/1 "2021-03-23T13:25:27Z")

</div>

Hello!

I'm trying to migrate shared slices of a previously created project to a newly created repository in another account. When using the `prismic --sm setup` command, I cannot add functionality to the repository, but if I specify another repository name, the process ends with an error:" Repository creation failed. Status: 500 ", although the repository name is available and I have re-authorized CLI using 'prismic logout' and 'prismic login'.

When the slicemachine command is executed locally, Slice Machine shows error message "Unabe to fetch remote slices" and "Error type: NOT FOUND".

I reviewed solutions here: [Troubleshooting Slice Machine](https://community.prismic.io/t/troubleshooting-slice-machine-slice-builder/3002) and I understand that the functionality may not be available in some repositories, but even after creating a new repository in Prismic Dashboard, the problem persists.

What would you suggest? 🙏

---

<div class="post-metadata">

**Author:** ![raimonds](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/raimonds/32/1918_2.png) [@raimonds](https://community.prismic.io/u/raimonds)\
**Post date:** [March 29, 2021, 10:27am UTC](https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641/3 "2021-03-29T10:27:47Z")

</div>

In the end, however, the only way was to perform a `prismic sm --setup` in a newly created directory. There may be a problem with some cached file.. the cause of the problem is currently unclear. If anyone finds themselves in a similar situation, I hope this solution helps.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [March 30, 2021, 1:00pm UTC](https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641/4 "2021-03-30T13:00:16Z")

</div>

closed on March 30, 2021, 1:00pm UTC as resolved,  flag & select 'Something Else' to reopen.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:55pm UTC](https://community.prismic.io/t/troubleshooting-shared-slices-feature-in-newly-created-repository/4641/5 "2021-12-09T17:55:16Z")

</div>

Opened on December 9, 2021, 5:55pm UTC


