Search code examples
sanity

Can't delete a Sanity project


I recently set up a new Sanity project via the CLI, but accidentally used the wrong file path. Now I'm unable to delete the project from within Sanity via Project > Settings > Delete Project. I keep getting a vague error "Could not delete project." Has anyone else run into this?


Solution

  • Of course, my problem ended up being a matter of org permissions. I was set to developer and not administrator — changing that fixed my issue.

    If anyone from Sanity sees this, although it might seem obvious in hindsight, I'd maybe suggest updating the error message to be more descriptive.