Good morning! I finished configuring tap-instagram...
# troubleshooting
h
Good morning! I finished configuring tap-instagram and am getting this error when I run the test command. Did I miss something during the configuration?
1
r
Are you sure your user ID correct? That message just means there's no data coming through - I'd expect to see a more specific error if there was an issue authenticating with the Instagram API.
h
the id is correct, yes. It's an old instagram creator account and I've set the start date to 2019 and loopback days to 1000. This should pull some data from the old posts right?
r
I don't know what state that particular tap is in, but in theory, yes. Maybe run with
--log-level debug
and see if you can spot anything?
a
Please share the
meltano.yml
file, I use this tap without issue so might be able to help.
h
here's the file. thanks!
didn't find anything wrong when I run that command Reuben
r
I'll let Andy take over since he's actually using the tap 🫡
🙌 1
a
Do you have your access token configured?
Copy code
config:
      ig_user_ids: ${TAP_INSTAGRAM_IG_USER_IDS}
      access_token: ${TAP_INSTAGRAM_ACCESS_TOKEN}
      start_date: 2023-03-01
TAP_INSTAGRAM_ACCESS_TOKEN='EABXD...
h
yep and I use Graph API on developer facebook to get a new one every time it expires
a
My IG id is 18 digits, are you sure you have that correct?
h
how did you get yours? I'll get mine the same way and see if it gives me what I already have
h
When I use me/accounts?access_token={myaccesstoken} it gives me an empty data object both with and without curly brackets
this is what comes up when I just call using /me I've tried using the id in this output and get this error on my terminal (second screenshot)
a
WHat variant are you using?
h
sorry what do you mean variant?
a
Should be in your meltano.yml under the
name
key
h
variant: voxmedia
r
h
dw I generated a new one immediately
also that one was about to expire
👍 1
r
Could this be something to do with the type of account? Or an "old" creator account not being compatible with the API version the tap is using?
I assume since the tap doesn't specify a version that it just falls back to the latest? Do you still get an empty response on an older version in that explorer app?
h
It could be possible, might try open a new account and see if that changes anything
👍 1
creating a new account presents the same error messages as earlier, so I don't think it's that it's an old account. I made some new posts on both accounts and will try again tomorrow to see if it was due to the fact that the posts were old / the new posts were "too new"
a
The tap docs also have some info on how to find this: https://github.com/voxmedia/tap-instagram?tab=readme-ov-file#configuration
h
Managed to get it working, created a new Page on Facebook and connected my Instagram account to the new one and now it's pulling data. Thanks for you help guys!
👍 3
🙌 1