Address unavailable for UrlFetchApp.fetch in Google Apps Script

孤街醉人 提交于 2021-02-08 11:39:33

问题


First of all, many thanks to Google for the awesome Google Apps Script!

I am currently designing a Google Sheets ad-on with a API service named CryptoCompare. So far it has always worked out quite well. But suddenly I get the error "Address unavailable". I tried different endpoints, new API keys and even new Google Sheets. But nothing works.

This simple call fails:

var response = UrlFetchApp.fetch('https://min-api.cryptocompare.com/data/blockchain/list');

Btw: Other APIs (such as Coinbase, Bittrex, etc.) work perfectly!

Need help, Matthias.


回答1:


Solved

The problem was blocked Google IP addresses on the part of the operator! There is no way around contacting the operator directly or switching to another service - there is no workaround.

Btw: Thanks CryptoCompare for the excellent support!



来源:https://stackoverflow.com/questions/59989765/address-unavailable-for-urlfetchapp-fetch-in-google-apps-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!