Has anyone hit this error before: ``` { "data": ...
# prisma-whats-new
n
Has anyone hit this error before:
Copy code
{
  "data": {
    "signup": null
  },
  "errors": [
    {
      "message": "Field \"user\" of type \"User\" must have a selection of subfields. Did you mean \"user { ... }\"?",
      "locations": [
        {
          "line": 3,
          "column": 3
        }
      ],
      "path": [
        "signup"
      ]
    }
  ]
}
^ just started happening, doesn't matter if we are using the prisma cloud deployed data store (AWS Aurora) or the public clusters
j
Is this in the playground?
If so, do you have more than one open?
n
@jof - yes, I have about 6 open
j
Close them all and then open just one
If that solves it, file an issue if you get a moment. (I'd do it but I have to leave right now). @ me (JofArnold on GitHub) if you do
n
still no luck @jof
I shut down my browser completely and rebooted
n
This error message is explained here: https://blog.graph.cool/graphql-server-basics-demystifying-the-info-argument-in-graphql-resolvers-6f26249f613a It has nothing to do with the Playground, it's about your resolvers 🙂
n
Thanks Nilan
Interesting that the problem just popped up
n
depending on your resolver, two different queries might work and not work. maybe this is what you're encountering as well.
n
It was actually not an issue with the resolvers, but an issue with pointing to our AWS Aurora datastore deployed via prisma
we switched back to the public clusters in our .env.prod and everything was great
n
hmm that's strange 🙂
n
PRISMA_CLUSTER
should look like what for the prisma cloud deployed data store?
n
I don't understand the question, sorry
can you elaborate?
n
so I deploy with
prisma deploy
and I get my uri returned
which I set as my Prisma endpoint in my
.env.prod
file
Just answered my own question. Trying something and seeing if there error persists
n
Ok!
n
Yeah, when using my prisma.sh uri, I get the following error now:
Copy code
{
  "data": {
    "signin": null
  },
  "errors": [
    {
      "message": "GraphQL Error (Code: 200)",
      "locations": [],
      "path": [
        "user"
      ]
    }
  ]
}
but no issues when using the public clusters. There are no errors when running deploy to the production cluster
n
Gotcha, please reach out to me in a PM 🙂