If you see any variation of this error in GraphQL while trying to use a fragment, it’s quite likely that there’s circular import going on. Try placing the fragment in a different file.
Unhandled Rejection (GraphQLError): Syntax Error: Unexpected Name "undefined"
GraphQLError: Syntax Error: Unexpected Name "undefined"
This was a bit obscure and hard to find. For reference.
Correct.