Hi, y'all :wave: I'm trying to get help with a pro...
# orm-help
a
Hi, y'all 👋 I'm trying to get help with a problem... I'm getting back into a codebase I haven't been in in a long time and it uses Prisma and I didn't write the code ... I am having problems and was wondering if anyone could help orient me toward the right place to look.
r
Hey @Adam Murray 👋 Could you explain a bit more about what the problem is?
a
Hi @Ryan! Yes ... I'm trying to run a script that is going to modify some data, and it sends me to an authentication page and I get this console output:
Copy code
Authenticating ✔
Authenticated with <mailto:murray.r.adam@gmail.com|murray.r.adam@gmail.com>

ERROR: Variable "$input" got invalid value {"workspaceSlug":null,"clusterName":"default","serviceName":"createsafe","stageName":"staging"}; Expected non-nullable type String! not to be null at value.workspaceSlug.

{
  "errors": [
    {
      "message": "Variable \"$input\" got invalid value {\"workspaceSlug\":null,\"clusterName\":\"default\",\"serviceName\":\"createsafe\",\"stageName\":\"staging\"}; Expected non-nullable type String! not to be null at value.workspaceSlug.",
      "locations": [
        {
          "line": 2,
          "column": 17
        }
      ],
      "code": 222
    }
  ],
  "status": 400
}
Does this mean my email address doesn't have permission?
r
it's expecting
workspaceSlug
to have a value
💯 1
a
is that something specific to my project or is that a prisma thing?
r
It's specific to your project
a
ah ok, thank you very much I will try to track that down then
r
It looks like it may be one of the parameters for your endpoint.
a
sweet thank you
weird, fyi I ran it again without changing anything and it just worked 🤷‍♂️
Just because it worked the last time (monthsss ago) and nothing had changed
r
typical 😄