project_tiktik icon indicating copy to clipboard operation
project_tiktik copied to clipboard

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

Open punkundo opened this issue 2 years ago • 4 comments

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

punkundo avatar Sep 13 '22 10:09 punkundo

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.

MemoRoyale avatar Sep 22 '22 21:09 MemoRoyale

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

punkundo avatar Sep 23 '22 04:09 punkundo

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 ?

mrtonymu avatar Oct 01 '22 17:10 mrtonymu

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 ^^

MemoRoyale avatar Oct 03 '22 07:10 MemoRoyale