-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello,
Just wanted to let you know that there is an error being thrown for the functions involving multiple coins such as "multiple_coins_historical_data" and it gives the following error:
HTTPError: 401 Client Error: Unauthorized for url: https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=max&interval=daily&precision=full
If you click on that link then it gives more info on the error:
{ "error": { "status": { "timestamp": "2024-06-18T15:04:20.238+00:00", "error_code": 10012, "error_message": "Your request exceeds the allowed time range. Public API users are limited to querying historical data within the past 365 days. Upgrade to a paid plan to enjoy full historical data access: https://www.coingecko.com/en/api/pricing. " } } }
If you can update the default function parameter for "days" to be "365" instead of "max" this seems to solve the issue: