After a fresh `prisma init`, `prisma local start` ...
# prisma-whats-new
t
After a fresh
prisma init
,
prisma local start
and a
prisma deploy
i get on
<http://localhost:4466/vocabulary/dev>
the following:
Copy code
{
  "code": 3015,
  "requestId": "api:api:cjcnop9gw000f0188ux5yjtz6",
  "error": "Your token is invalid. It might have expired or you might be using a token from a different project."
}
Any ideas?
j
Here is how I got past this. Run prisma token, Then prisma local nuke The prisma local start
t
thx!
Sorry about the question.. but i don't understand how i set the Authentication-JWT-Header in the playground.. 🙈
j
@Tobi just use the login mutation and set the http header below with the token code for example
{ Authorization: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjamNmMW81dHcwMG01MDE0NTk3MnQzeXFrIiwiaWF0IjoxNTE1OTc4MzA1fQ.oODmq3HoqRbv0xTWV-bkEGru0Q_X86vKpvQytC7IywU" }
t
Thank you so much
j
You welcome