Question about graphql taps: I'm getting a 400 Cli...
# singer-tap-development
m
Question about graphql taps: I'm getting a 400 Client Error: Bad Request for path: /graphql I have an endpoint configured "https://example.com" and set path = "/graphql" in the Stream I've verified that the url is correct and endpoint is correct, and can get data from postman
Using GraphQLStream
e
Hi @mark_rood! The built query may be malformed. You can verify by running with env var
LOG_LEVEL=debug
m
even though the query works fine in postman?
I think I found my problem, GraphQLStream doesn't support variables (Found this on https://gitlab.com/meltano/sdk/-/issues/115)
e
Ah, see https://gitlab.com/meltano/sdk/-/merge_requests/78/diffs. It does support variables, using the value returned from
GraphQLStream.get_url_params
(inherited from https://sdk.meltano.com/en/latest/classes/singer_sdk.RESTStream.html#singer_sdk.RESTStream.get_url_params).
m
I think that was it!! thank you!
e
Awesome! Glad I could help 😄