I am working on building a custom tap and have got...
# singer-tap-development
m
I am working on building a custom tap and have got a 200 response from the API returning (REST, Basic auth) but am seeing no output, it seems to be returning no rows. I have checked the call the old fashioned way and can see a JSON response so just wondering if there is a specific trick I am missing on how to edit the way the response is handled? Have been working through the build you own connector docs
d
Have you tried including some logging info. E.g. in
clients.py
in the
get_url_params
function you can include
<http://self.logging.info|self.logging.info>("Query Params: %s", params)
Ensure
log_level
= debug
meltano config meltano set cli log_level debug
This will output the exact query params that are set.
m
Will give it a go, thanks
e
Also, look for log messages saying something like
JSONPath ... match count: 0
. It may indicate the
records_jsonpath
attribute of the stream needs to updated.