https://linen.dev logo
#singer-tap-development
Title
# singer-tap-development
j

josh_lloyd

07/26/2022, 9:40 PM
I’ve created a new tap using the SDK. It infers the schema of a stream using the response of a call to the api. I had it working at one point but now when it tries to infer the schema or spit out a catalog file it chokes like so when using the command
meltano --log-level=debug invoke --dump catalog tap-sumologic
:
Copy code
[2022-07-26 15:10:33,498] [40074|MainThread|meltano.cli.utils] [DEBUG] Could not dump catalog: Catalog discovery failed: invalid catalog: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/meltano/core/plugin/singer/tap.py", line 302, in discover_catalog
    catalog = json.load(catalog_file)
  File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)