tosunthex / CoinGecko

CoinGecko .Net Standard api wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

500 internal error.

bluehawana opened this issue · comments

Hi,
I recently tested our api https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=false on Azure funtion app, http app side, but every time when I tried, it returns with 500 error. while if I use this api https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd works fine. I added header to do the api call, but unfortunately, not working. Hopefully someone could give me a hand. HELLO

hey specifically for coins/market endpoint, 2 things you might wanna try to look into:

  1. user agent: is it empty? if yes, might wanna change it
  2. how many calls are you making every minute? might wana reduce it to <5 calls/min (based on what I checked with CG API team recently).