ERROR: Cannot read property 'clusterSecret' of null

prisma

#1

I am trying to create a Prisma Service with the CLI using prisma deploy -e var.env -n and I get the following error. I have already created the server and everything seems to be working. I can access the playground, however, I just can’t figure out what the CLI wants from me. Thanks for any help/pointing in the right direction!

ERROR: Cannot read property 'clusterSecret' of null

{
  "data": {
    "generateClusterToken": null
  },
  "errors": [
    {
      "message": "Cannot read property 'clusterSecret' of null",
      "locations": [
        {
          "line": 3,
          "column": 9
        }
      ],
      "path": [
        "generateClusterToken"
      ],
      "code": 222
    }
  ],
  "status": 200
}

#2

Hi @rheajt

Do you have a proper PRISMA_MANAGEMENT_API_SECRET in you env file? If not please add it to resolve this issue.


#3

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.