# Not able to create new repo

**URL:** <https://community.prismic.io/t/not-able-to-create-new-repo/14312>\
**Category:** Developing with Prismic\
**Created:** [October 16, 2023, 6:31pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312 "2023-10-16T18:31:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![odelia.finkel](https://avatars.discourse-cdn.com/v4/letter/o/da6949/32.png) [@odelia.finkel](https://community.prismic.io/u/odelia.finkel)\
**Post date:** [October 16, 2023, 6:31pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/1 "2023-10-16T18:31:27Z")

</div>

After creating an initial demo repo to play around with Prismic I'm trying to create a new repo to work on a new app. everytime i add the new name i get this error: ✖ Creating new repository flowrise-demo-app ...  
→ Failed to create repository `flowrise-demo-app`  
Error: Failed to create repository `flowrise-demo-app`  
at PrismicRepositoryManager.create (/Users/odeliafinkelstein/.npm/\_npx/b6923b01b288b666/node\_modules/@slicemachine/manager/dist/managers/prismicRepository/PrismicRepositoryManager.cjs:125:13)  
at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
at async Task.task (/Users/odeliafinkelstein/.npm/\_npx/b6923b01b288b666/node\_modules/@slicemachine/init/dist/SliceMachineInitProcess.cjs:625:11)

---

<div class="post-metadata">

**Author:** ![nf\_mastroianni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/nf_mastroianni/32/7071_2.png) [@nf\_mastroianni](https://community.prismic.io/u/nf_mastroianni)\
**Post date:** [October 16, 2023, 10:48pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/2 "2023-10-16T22:48:55Z")

</div>

Likewise! I just found this out while trying to help another forum post out. Must be a bug that found its way into 1.17.

In a pinch, make one on the web, then you can hook into it if it already exists. Hope that helps.

---

<div class="post-metadata">

**Author:** ![nf\_mastroianni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/nf_mastroianni/32/7071_2.png) [@nf\_mastroianni](https://community.prismic.io/u/nf_mastroianni)\
**Post date:** [October 17, 2023, 8:07pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/3 "2023-10-17T20:07:29Z")

</div>

Any luck @odelia.finkel ? I tried again today after I saw new slicemachine version. I'm still unable to create new repositories via the slicemachine/init. I'm considering trying an older version to see if it works.

---

<div class="post-metadata">

**Author:** ![nf\_mastroianni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/nf_mastroianni/32/7071_2.png) [@nf\_mastroianni](https://community.prismic.io/u/nf_mastroianni)\
**Post date:** [October 17, 2023, 8:20pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/4 "2023-10-17T20:20:36Z")

</div>

Ok so I got past my not being able to create repos. I ran

```auto
prismic logout
prismic login

```

Despite slicemachine/init showing that I was logged in, it apparently didn't like my status.

I will now test building.

---

<div class="post-metadata">

**Author:** ![xavier.rutayisire](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/xavier.rutayisire/32/6461_2.png) [@xavier.rutayisire](https://community.prismic.io/u/xavier.rutayisire)\
**Post date:** [October 19, 2023, 11:15am UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/7 "2023-10-19T11:15:19Z")

</div>

Hi @nf_mastroianni,

Welcome to the community!

Thank you for the bug report. We also identified on our side a problem with the authentication, specifically to create a repository with the init.

We are currently fixing the bug: [fix(init): Fix failed to create repository error in init by xrutayisire · Pull Request #1179 · prismicio/slice-machine · GitHub](https://github.com/prismicio/slice-machine/pull/1179)  
It's the equivalent of what you're doing, logout to flush the stale authentication and login again.

It should be released next week 🙂

Thank you,  
Xavier

---

<div class="post-metadata">

**Author:** ![odelia.finkel](https://avatars.discourse-cdn.com/v4/letter/o/da6949/32.png) [@odelia.finkel](https://community.prismic.io/u/odelia.finkel)\
**Post date:** [October 23, 2023, 8:24pm UTC](https://community.prismic.io/t/not-able-to-create-new-repo/14312/9 "2023-10-23T20:24:11Z")

</div>

Hey Neil,

Works on my end now!
