waqas
waqas

Reputation: 4505

Prisma Playground is giving token invalid error

I am getting following error when I try to access Prisma Playground in browser.

{
  "errors": [
    {
      "message": " Your token is invalid. It might have expired or you might be using a token from a different project.",
      "code": 3015,
      "requestId": "api:api:cjfcbpal10t6w0b91idqif941"
    }
  ]
}

enter image description here

Upvotes: 3

Views: 1727

Answers (1)

Raeesaa
Raeesaa

Reputation: 3316

You would need to generate prisma token using following command and pass it as authorization header in the playground:

prisma token

enter image description here

Upvotes: 5

Related Questions