
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThis is a common issue that happens when you use sanity init to create a new project! Here's what's happening and how to fix it:
When you run sanity init, the CLI creates a new project in your Sanity account and automatically adds you as a member. However, the sanity login command authenticates you with Sanity's servers, but it doesn't automatically sync which user created the project in all cases, especially if you have multiple accounts or if there was a hiccup during initialization.
Go to sanity.io/manage and:
sanity.config.ts or sanity.json file)Sometimes people have multiple Sanity accounts (personal, work, etc.):
sanity logout in your terminalsanity login again and make sure you're using the same email/account that you used when running sanity initIn your project folder, look at sanity.config.ts (or sanity.json for older projects) and verify the projectId matches the project you see in sanity.io/manage. If they don't match, you might be pointing to the wrong project.
If nothing else works, you can start fresh:
# In your project directory
sanity init --reconfigureThis will let you either create a new project or select an existing one that you have access to.
Based on the Sanity platform documentation, members must be explicitly invited to each project. If the project was somehow created under an organization you don't have access to, you'll need an admin of that organization to invite you.
Run this command in your project directory to see which project and dataset you're connected to:
sanity debugThis will show you the project ID and help confirm you're working with the right project.
The most common fix is usually #1 or #2 - just making sure you're logged into the right account in both the CLI and your browser. Good luck!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store