Andy Carter
08/01/2024, 7:52 AMtap-instagram
. Not sure this is 3.x related though. I have a fork of the voxmedia variant so no code changes to the tap.
One config input is the ig_users which is an array of ints. I used to be able to provide this in my .env as TAP_INSTAGRAM_IG_USER_IDS='[12345]'
but now this doesn't seem to work, I get this error from meltano.
Config validation error: '[12345]' is not of type 'array'
If I hard-code the user ids into meltano.yml
as a list of ints it works fine. Any suggestions how to solve?
I only really need a single user id, so I could alter my tap to work off an int rather than array of ints as well. But if there's a simple change here that would be greatAndy Carter
08/01/2024, 7:53 AMCould not append type because the JSON schema for the dictionary `{'oneOf': [{'type': ['number']}, {'type': ['string']}, {'type': ['boolean']}]}` appears to be invalid.
Could not append type because the JSON schema for the dictionary `{'oneOf': [{'type': ['string']}, {'type': 'array', 'items': {'type': ['string']}}]}` appears to be invalid.
2024-08-01 08:53:15,366 | ERROR | tap-instagram | Config validation error: '12345' is not of type 'array'
visch
08/01/2024, 2:31 PMmeltano.yml
for settings do you have user_id's defined as an array?Andy Carter
08/01/2024, 2:40 PMconfig:
ig_user_ids: ${TAP_INSTAGRAM_IG_USER_IDS}
That's how it's been setup for the longest time with meltano 2.xvisch
08/01/2024, 2:40 PMvisch
08/01/2024, 2:41 PMAndy Carter
08/01/2024, 2:41 PMvisch
08/01/2024, 2:42 PMAndy Carter
08/01/2024, 2:43 PMEdgar RamÃrez (Arch.dev)
08/01/2024, 3:13 PMconfig:
ig_user_ids: ${TAP_INSTAGRAM_IG_USER_IDS}
removing that and just putting TAP_INSTAGRAM_IG_USER_IDS
in the .env
should be enough.