GraphQLError: Syntax Error: Unexpected Name “undefined”

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. This was a bit obscure and hard to find. For reference. https://spectrum.chat/apollo/general/fragments-not-working-cross-files-in-mutation~c4e90568-f89a-458f-9810-0730846fc5f0 https://pastebin.com/3vCv2Ak5