Hello, I'm just getting started using meltano and ...
# troubleshooting
m
Hello, I'm just getting started using meltano and have been trying to work through the tutorial part 1. I get this from meltano invoke tap-github -> "raise RetriableAPIError(msg, response) singer_sdk.exceptions.RetriableAPIError: 401 Client Error: b'{"message":"This endpoint requires you to be authenticated.","documentation_url":"https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql"}' (Reason: Unauthorized) for path: /graphql"
message has been deleted
v
Docs don't tell you which checkboxes to hit in Github
sbalnojan/meltano-lightdash
meltano invoke --dump=config tap-github
Copy code
echo %ERRORLEVEL%
echo $?
meltano invoke  tap-github > out
p
Did you figure it out? I've seen this error in a couple cases. When my token expires or when I exceed my API rate limit
v
Yeah it was the api token was accidently being wrapped in
[]
We then went into a bit of meltano training for fun and what exit codes mean etc
I think the steps to follow in github would be helpful. The other things that he found hard were 1. How do you know if this is failing or not? 2. Oh the meltano select modifies
meltano.yml
that wasn't super obvious 3. Arrays vs strings didn't make a ton of sense but did after I explained it I think 4. Using
meltano invoke --dump=config tap-github
helped some but it was hard to know from the error that it was the API token itself wasn't working at all as the Error isn't very clear. If
tap-github
could tell you if the auth token worked or not that would be helpful
Anything I'm missing @matthew_funk feel free to add 😄
p
thanks Derek. cc @Sven Balnojan these are great tips to add to the getting started guide!