Error 500: Could not fetch remote custom types. You don't have access to the repo "***"

Hello,
When i have started slicemachine.
I'm getting the following error when i try to push the slices and custom types to Prismic.

Error 500: Could not fetch remote custom types. You don't have access to the repo "****"

I'm logged in, both through the website and the terminal.
This is the only error we are receiving back.

I have also tried to use the legacy builder from Prismic.
When clicking on a custom type it also returns with an error.

Failed to load resource: the server responded with a status of 400 ()
main.js:395 Uncaught TypeError: Cannot read properties of null (reading 'value')
    at Object.setup (main.js:412:67567)
    at Object.<anonymous> (main.js:296:13326)
    at j (jquery-2.1.0.min.js:2:26676)
    at Object.fireWith [as rejectWith] (jquery-2.1.0.min.js:2:27489)
    at x (jquery-2.1.0.min.js:4:10539)
    at XMLHttpRequest.<anonymous> (jquery-2.1.0.min.js:4:14161)
    at XMLHttpRequest.i (main.js:395:55827)

I have no idea why this is because we can push to a different repository.
Any idea how to fix this?

I have the same error!

I am logged in and everything was working, but at one point the slices stopped working and when I push to the prismic, an error like the one in the photo is thrown

what could be the problem?

Hello @neverstay717 and @team-w-make. Thanks for reaching out.

Are you still having this issue?

I haven't been able to replicate the issue on my end. Which version of Slice Machine are you using?

I am using the new version Slice Machine (0.4.0)

Can you send me the URL of your repository via dm?

yes, i sent

1 Like

@team-w-make and @neverstay717, can you confirm that Slice Machine worked on previous days?
Is your repository name correctly declared on the sm.json file?

everything worked until today, despite the fact that there were no changes

1 Like

Same for me

2 Likes

Same here. Can't use any page made with slices, "normal" pages (with no slice zone) are accessible. Custom Types (any of them) start loading but then i get a 400 error on console.

What's your repository URL @fernando.ferreyra?

I have the same error, no because I don't upload anything from slicemachine,

Thanks for joining the conversation @marketing10. Can you also send us your repo URL? wee need this info to keep track of the issue.

Hey everyone!
We were able to reproduce the issue. We'll update this thread when we have a solution for it.
Thanks

1 Like

It looks like what you did works, because the issue stopt for me.

We pushed a fix for this error, if you experience it again, please let us know.

@Pau Hello ! I'm facing to the same issue with slicemachine v0.4.2, some help will be appreciate :slight_smile: thank you

Hello, I have the same error again. please help. thank you.

Same here, this same thing happened a couple of weeks ago (July 7th)