tap-facebook icon indicating copy to clipboard operation
tap-facebook copied to clipboard

TypeError: list indices must be integers or slices, not str

Open albertabello opened this issue 6 years ago • 1 comments

We are getting an error when running this tap:

File "/Users/XXX/Documents/bigquery/venv/lib/python3.6/site-packages/singer/catalog.py", line 87, in from_dict
    for stream in data['streams']:
TypeError: list indices must be integers or slices, not str

Default settings so far but still delivering problems. Does someone know why?

albertabello avatar Jun 22 '18 15:06 albertabello

Hi @albertabello, this indicates that your catalog.json or properties.json file is probably incorrectly formatted. Can you verify that your file meets the format specified here: https://github.com/singer-io/getting-started/blob/master/docs/DISCOVERY_MODE.md#the-catalog

nick-mccoy avatar Jun 27 '18 18:06 nick-mccoy