Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Runtime Error ClientError: the mutation(s) failed: Insufficient permissions; permission "update" required #14

Open
punkundo opened this issue Sep 13, 2022 · 4 comments

Comments

@punkundo
Copy link

In the second minute 02:46:00, I had an error in Upload Video, Looking forward to everyone's help. Thanks!!!
image

@MemoRoyale
Copy link

Heya, The main problem is your .env file
if u hover your mouse in the client file on token: NEXT_PUBLIC_SANITY_TOKEN it will show that its undefined.
I couldn't solve the problem of the .env file but I paste the token directly on my client file and it work.

@punkundo
Copy link
Author

Ohh!! Thank you very much!! My problem is solved

@mrtonymu
Copy link

mrtonymu commented Oct 1, 2022

Heya, The main problem is your .env file if u hover your mouse in the client file on token: NEXT_PUBLIC_SANITY_TOKEN it will show that its undefined. I couldn't solve the problem of the .env file but I paste the token directly on my client file and it work.

hey may i know where you paste the token to ? like which file ?

@MemoRoyale
Copy link

Heya, The main problem is your .env file if u hover your mouse in the client file on token: NEXT_PUBLIC_SANITY_TOKEN it will show that its undefined. I couldn't solve the problem of the .env file but I paste the token directly on my client file and it work.

hey may i know where you paste the token to ? like which file ?

Hi, i have stated, in the client file. Client.ts if i'm not mistaken ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants