Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

User resolves insufficient permissions error with Sanity Mutation API

3 replies
Last updated: Jun 25, 2024
Hi. I'am using the free account and trying to use the Mutation api to create a new document but getting insufficient permissions error. I created a token and assigned the contributor role, but still getting the error.
Jun 24, 2024, 1:29 PM
You’ll want to create a token that has the proper permissions you’re looking for. This is what the contributor role has access to.
Jun 24, 2024, 3:53 PM
Thanks... I created a token and assigned the correct role. It worked.
Jun 25, 2024, 12:50 AM
Excellent!
Jun 25, 2024, 3:15 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?