This message was deleted.
# orm-help
s
This message was deleted.
Copy code
The disableAuth property has been removed. If you don't want your Prisma API to require authentication, simply omit the secret property.
✔️ Ran
prisma token
to confirm Prisma doesn’t think a secret is set --- Manually checked the following as well: ✔️ No secret in .env ✔️ No secret in prisma.yml (and disableAuth has been removed) ✔️ No secret in docker-compose.yml ✔️ No secret in index.js (Prisma server initialization) ✔️ No secret in ~/.prisma/config.yml
👍 1
Error:
Copy code
{
  "data": null,
  "errors": [
    {
      "message": "Your token is invalid. It might have expired or you might be using a token from a different project.",
      "locations": [],
      "path": [
        "foos"
      ],
      "code": 3015,
      "requestId": "local:api:cjhnstuyl00070950v5gt58hx"
    }
  ]
}
👍 1
Related issue re error code 3015: https://github.com/prismagraphql/prisma/issues/1831
a
it happen to me too
n
@alechp @Angel why is the first message deleted? what is the current status of this topic?
a
I commented
Copy code
// secret: process.env.PRISMA_SECRET
in index.js and in database/prisma.yl and now it works, but if they are uncommented throw that error
n
do
process.env.PRISMA_SECRET
and the secret in
prisma.yml
match?
a
@nilan Gah, my bad. I meant to delete entire thread (thought deleting first msg would delete sub-messages)
a
yes they match, it happens when I deploy it