Skip to content

Error: sanity.cli.ts does not contain a project identifier #22

@gislitg

Description

@gislitg

I am getting the error: "Error: sanity.cli.ts does not contain a project identifier ("api.projectId"), which is required for the Sanity CLI to communicate with the Sanity API"

To Reproduce

Steps to reproduce the behavior:

  1. Use the export/backup example code but use the latest version 0.7-alpha
  2. Used a read+write token since I was also going to use the sanity dataset import but never got to that point
  3. Received error

Expected behavior

The workflow should succeed

Screenshots

Screenshot 2023-12-15 at 09 03 57

Which versions of Sanity are you using?
v3.21.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions