# Updating Slice Issue

**URL:** <https://community.prismic.io/t/updating-slice-issue/2840>\
**Category:** Developing with Prismic\
**Created:** [November 24, 2020, 6:52pm UTC](https://community.prismic.io/t/updating-slice-issue/2840 "2020-11-24T18:52:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![f.gisonni](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@f.gisonni](https://community.prismic.io/u/f.gisonni)\
**Post date:** [November 24, 2020, 6:52pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/1 "2020-11-24T18:52:45Z")

</div>

Hello,

I am trying to push my Slice to my Prismic repo to use with my slice library, but I am running into an issue. I am using the Slice Library Starter for NextJS ([https://github.com/prismicio-community/slice-library-starter-next](https://github.com/prismicio-community/slice-library-starter-next)). I have a screen shot of my console, and just not sure what the fix is.

 ![Screen Shot 2020-11-24 at 1.38.10 PM](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/a/a123d22823d9e0e379f47166659edeb2ad78338d.png)

Here is the link to my repo: [GitHub - franklyg/francesco-slices](https://github.com/franklyg/francesco-slices)

I have referenced other forums to update the slicemachine ui. I have logged in and out, restarted my dev server, but no dice ☹

Thank you for you help/advice in advance,

---

<div class="post-metadata">

**Author:** ![tonym](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@tonym](https://community.prismic.io/u/tonym)\
**Post date:** [November 24, 2020, 7:07pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/2 "2020-11-24T19:07:52Z")

</div>

I've been having the exact same issue for the last week or so.

I dug through the `node_modules/slice-machine-ui/server/api/push.js` and commented out that line and was able to see the response `[slice-machine] { status: 403, fake: true, err: 'You are not connected to Prismic' }`. Digging a little further I was commenting out some code and following the log of events in `lib/client/index.js`, and when my `.prismic` credentials were loaded at _push_ time, everything was undefined.

I tried this same setup on a different account and a different computer and was able to replicate the same issue, so at this time I'm at a loss as well.

* * *

Development Setup:  
Node Version: `v12.16.3`  
Prismic CLI: `3.8.3-beta.0`  
slice-machine-ui: `0.0.39`

---

<div class="post-metadata">

**Author:** ![oliver1](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oliver1](https://community.prismic.io/u/oliver1)\
**Post date:** [November 24, 2020, 7:08pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/3 "2020-11-24T19:08:57Z")

</div>

I'm also having this same issue. Tried various things to make it work, but no luck.

---

<div class="post-metadata">

**Author:** ![tonym](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@tonym](https://community.prismic.io/u/tonym)\
**Post date:** [November 24, 2020, 7:11pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/4 "2020-11-24T19:11:10Z")

</div>

I followed the steps in [this guide that was having similar issues](https://community.prismic.io/t/problem-pushing-slices-to-prismic/2597).

Even when I would do the following steps:

1. Run `prismic logout`
2. Run `prismic sm --develop`
3. Get prompted to login, and then run the dev server

It seemed that the application was still running the client in `fake` mode and giving the `403` issue as my previous comment.

---

<div class="post-metadata">

**Author:** ![oliver1](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@oliver1](https://community.prismic.io/u/oliver1)\
**Post date:** [November 24, 2020, 7:13pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/5 "2020-11-24T19:13:53Z")

</div>

Looks like the same issue as reported here: [Unable to push slices to prismic in slice-machine](https://community.prismic.io/t/unable-to-push-slices-to-prismic-in-slice-machine/2810)

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [December 7, 2020, 9:04am UTC](https://community.prismic.io/t/updating-slice-issue/2840/6 "2020-12-07T09:04:57Z")

</div>

Hey @f.gisonni, @tonym, and @oliver1, Sorry for the delayed response. I just wanted to follow up to see if you're still having any issues. If so, we published a troubleshooting guide, here:

> [@Troubleshooting Slice Machine](https://community.prismic.io/t/troubleshooting-slice-machine-slice-builder/3002):
>
> Thanks for installing Slice Machine and contributing to the development of this open source project. Currently, Slice Machine is mostly in beta, with Slice Machine in alpha. So, you might encounter some issues. Here are the most common issues and the solutions. This list is up-to-date as of January 12, 2021. Please feel free to suggest additions. First: Check Your Versions The current working versions are here: slice-machine-ui: [https://www.npmjs.com/package/slice-machine-ui](https://www.npmjs.com/package/slice-machine-ui) prismic-cli: [ht…](https://www.npmjs.com/package/prismic-cli)

If you don't see the solution to your issue there, please let me know!

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [December 11, 2020, 9:17am UTC](https://community.prismic.io/t/updating-slice-issue/2840/8 "2020-12-11T09:17:18Z")

</div>

This issue has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<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:57pm UTC](https://community.prismic.io/t/updating-slice-issue/2840/9 "2021-12-09T17:57:40Z")

</div>


