500 internal error.
bluehawana opened this issue · comments
Hongzhi Li commented
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
sachiew commented
hey specifically for coins/market endpoint, 2 things you might wanna try to look into:
- user agent: is it empty? if yes, might wanna change it
- 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).