Hello Guys We use prisma 1 at where i work and we ...
# orm-help
h
Hello Guys We use prisma 1 at where i work and we ran into an issue which we find hard to resolve. we added a new field to a model we running the yarn deploy command we had this error which prevents the field from beign added. Any help will be appreciated
Copy code
ERROR: Variable "$input" got invalid value {"workspaceSlug":null,"clusterName":"default","serviceName":"new-leaders","stageName":"develop"}; Expected non-nullable type String! not to be null at value.workspaceSlug.
{
  "errors": [
    {
      "message": "Variable \"$input\" got invalid value {\"workspaceSlug\":null,\"clusterName\":\"default\",\"serviceName\":\"new-leaders\",\"stageName\":\"develop\"}; Expected non-nullable type String! not to be null at value.workspaceSlug.",
      "locations": [
        {
          "line": 2,
          "column": 17
        }
      ],
      "code": 222
    }
  ],
  "status": 400
}
r
@Harrison Ekpobimi The new field that you have added, is it a required field?
h
No
r
Another thing that could be is your
prisma login
is not pointing to the correct cluster. Could you check that as well?
h
ok
We resolved it by updating Node
💯 1