Бот на сервере выдает ошибку json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0), как исправить?

Написал бота, который в режиме реального времени присылает пользователю курс валют. На локалке все работает отлично, загружаю на сервер и при попытке отправить сообщение бот выдает ошибку json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0). Бота писал на библиотеке telebot. Вот код:

def currencies():
 global btc_usdt, eth_usdt, sol_usdt, eur_rub, usd_rub
 response = requests.get(url="https://api.coingecko.com/api/v3/coins/bitcoin")
 jresponse = json.loads(response.text)
 btc_usdt = str(round(jresponse.get("market_data").get("current_price").get("usd")))
 response2 = requests.get(url="https://api.coingecko.com/api/v3/coins/ethereum")
 jresponse2 = json.loads(response2.text)
 eth_usdt = str(round(jresponse2.get("market_data").get("current_price").get("usd")))
 response3 = requests.get(url="https://api.coingecko.com/api/v3/coins/solana")
 jresponse3 = json.loads(response3.text)
 sol_usdt = str(round(jresponse3.get("market_data").get("current_price").get("usd")))
 response_fiat = requests.get(url="https://www.cbr-xml-daily.ru/daily_json.js")
 jfiat = json.loads(response_fiat.text)
 usd_rub = str(round(jfiat.get("Valute").get("USD").get("Value")))
 eur_rub = str(round(jfiat.get("Valute").get("EUR").get("Value")))

Ответы (0 шт):