graphql-mesh
graphql-mesh copied to clipboard
{"status":"INTERNAL_SERVER_ERROR","code":9432,"message":"Your session has expired. Please login.","statusCode":500};
I am using custom variables like session-token, but while I am parsing through the Yaml file I am facing an error "session expired". But I am using the same token in my Postman collection as well and it's working perfectly. Maybe I missed any syntax errors (or) I missed any schema for this. Anyone please help?
Code :
sources:
- name: ScoopsSearch handler: graphql: endpoint: https://vijay-staging.goom.com/profiles/graphql/scoopsSearch operationHeaders: Authorization: "bearer {env.x-zijwttoken}" user: "{env.user}" x-zisession: "{env.x-zisession}"
"x-zisession" => This field only getting Error.
I am not sure, It's coming "x-zisession" or "Authorization: "bearer {env.x-zijwttoken}"".
This looks like coming from your remote GraphQL endpoint. Are you sure correct header values are passed?
Yes. I am sure same value what I passed in Postman Header. Same values also in Mesh... I spend last 4 Hours for this... Still I am not getting any idea... Why it's coming.. I followed the our code example
Closing the issue due to the missing reproduction. Feel free to create a new issue with a clear reproduction. Thanks!