graphql-mesh
graphql-mesh copied to clipboard
"message": "Unexpected error value: { name: \"SyntaxError\", message: \"Unexpected 'I'\", at: 1, text: \"Invalid Query\" }",
Hi I am merging two API's in a same host using GraphQL. I followed what I done last time with Normal Openspec same thing I followed Here as well. But I am facing an issue like "Unexpected error value: { name: "SyntaxError". I am not sure Anything I added Wrong? I am adding Code as well Anyone can take a look and give your inupt.
Code: **_sources:
-
name: ScoopsSearch handler: graphql: endpoint: http://localhost:8080/profiles/graphql/ScoopsSearch baseUrl: http://localhost:8080/ operationHeaders: user: "{env.user}" x-zisession: "{env.x-zisession}" x-ziid: "{env.x-ziid}" x-ziaccesstoken: "{env.x-ziaccesstoken}"
-
name: FacetsSearch handler: graphql: endpoint: http://localhost:8080/profiles/graphql/facets baseUrl: http://localhost:8080/ operationHeaders: user: "{env.user}" x-zisession: "{env.x-zisession}" x-ziid: "{env.x-ziid}" x-ziaccesstoken: "{env.x-ziaccesstoken}"_**
Could you share a reproduction? Thanks
Sure. Let me share the GraphQL Playground screenshot.
Code
Sorry I need a reproduction on CodeSandbox, StackBlitz or at least in a repo. Screenshots don't help.
Hi @ardatan , It's my private office Repo... So that graphql service is not accessible for me.... Any other option from your end.... The only problem when I call two times in same yaml file.... May I am available for a call any time .. just 5 mins