Hey guys, i got a Problem with using my singer-sdk...
# troubleshooting
n
Hey guys, i got a Problem with using my singer-sdk with meltano. I always got the loader failed error: Loading failed (1): simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0) meltano | ELT could not be completed: Loader failed ELT could not be completed: Loader failed If I am trying my singer-sdk tap locally with this code..
Copy code
poetry run tap-xx --config .secrets/config.json --state state.json | .venvcsv/bin/target-csv
it is working without any problems. I got all the csv-files for my streams. Meltano is not even starting the extract first. It is directly raising the above error. Anyone got a hint? Thank you ! Greetings Nick
t
Can you share the Meltano commands you’re running and did you try running with --log-level=debug? FYI @aaronsteers since Nick mentioned this was #C01PKLU5D1R related
a
@nick_muller - Do you mind logging an issue on the SDK or Meltano repos (either is fine) along with the full log? My first thought is that the error you shared looks like a JSON encoding/decoding error. The only thing I could think of which might cause that is if logging or other non-Singer data is is being sent to STDOUT instead of STDERR.
n
Hey, i fixed the problem. The debug function of meltano helped me. I had a problem with installing my custom tab and therefore there was no output given to the loader. The output was an error => The loader couldn't read the data. AJ Steers was right. Thank you guys. I am getting more and more familiar with meltano and your singer-sdk. I really like it. @aaronsteers Unfortunately I do not have the log file anymore. So i am not able to log the issue.. Sorry! Greetings
a
Glad to hear you found a resolution! 👍