Python Forum
Problems with JSONDecodeError - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Problems with JSONDecodeError (/thread-34990.html)



Problems with JSONDecodeError - arsouzaesilva - Sep-22-2021

Hello everyone, all good?

The attached code, files downloaded in csv through a NasaPower api, to run a first line of use:

NasaPower ("20150101", "20210831", "your output path")

after running the following error:


File "D: \ obj \ windows-release \ 37amd64_Release \ msi_python \ zip_amd64 \ decoder.py", line 355, in raw_decode

JSONDecodeError: Expecting value

How to solve this?

thankĀ“s[attachment=1277][attachment=1277][attachment=1277]