I was all good before today. But now I got an error when I was trying to start the BOT. Here it is:
Traceback (most recent call last): File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 245, in tick job.run(self.bot) File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 372, in run self.callback(bot, self) File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 23, in refresh APICache.refresh_coinmarketcap_coin_list() File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 39, in refresh_coinmarketcap_coin_list APICache.cmc_coin_list = Market().listings()["data"] TypeError: 'JSONDecodeError' object is not subscriptable
I was all good before today. But now I got an error when I was trying to start the BOT. Here it is:
Traceback (most recent call last): File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 245, in tick job.run(self.bot) File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 372, in run self.callback(bot, self) File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 23, in refresh APICache.refresh_coinmarketcap_coin_list() File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 39, in refresh_coinmarketcap_coin_list APICache.cmc_coin_list = Market().listings()["data"] TypeError: 'JSONDecodeError' object is not subscriptable