Google Apps脚本中的UrlFetchApp.fetch无法使用的地址 [英] Address unavailable for UrlFetchApp.fetch in Google Apps Script

查看:137
本文介绍了Google Apps脚本中的UrlFetchApp.fetch无法使用的地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,非常感谢Google出色的Google Apps脚本!

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

我目前正在设计一个名为CryptoCompare的API服务的Google Sheets插件.到目前为止,它一直工作得很好.但是突然我收到错误消息地址不可用".我尝试了不同的端点,新的API密钥,甚至新的Google表格.但是什么都行不通.

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.

此简单调用失败:

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

顺便说一句:其他API(例如Coinbase,Bittrex等)可以正常工作!

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

需要帮助,马蒂亚斯.

推荐答案

已解决

该问题已阻止了运营商的Google IP地址!无法直接联系运营商或切换到其他服务,这是无法解决的.

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.

顺便说一句:感谢CryptoCompare的出色支持!

Btw: Thanks CryptoCompare for the excellent support!

这篇关于Google Apps脚本中的UrlFetchApp.fetch无法使用的地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆