api - Google Apps 脚本中 UrlFetchApp.fetch 的地址不可用
问题描述
首先,非常感谢 Google 提供了很棒的 Google Apps 脚本!
我目前正在设计一个带有名为 CryptoCompare 的 API 服务的 Google 表格广告。到目前为止,它的效果一直很好。但突然我收到错误“地址不可用”。我尝试了不同的端点、新的 API 密钥甚至新的 Google 表格。但没有任何效果。
这个简单的调用失败:
var response = UrlFetchApp.fetch('https://min-api.cryptocompare.com/data/blockchain/list');
顺便说一句:其他 API(如 Coinbase、Bittrex 等)运行良好!
需要帮助,马蒂亚斯。
解决方案
解决了
问题是运营商阻止了 Google IP 地址!无法直接联系运营商或切换到其他服务 - 没有解决方法。
顺便说一句:感谢 CryptoCompare 的大力支持!
推荐阅读
- mysql - 根据来自另外 2 个表的连接结果插入到一个表中
- r - 如何在R中用正确的单词替换错误的拼写单词
- validation - 在flutter中检查验证之前验证变为真
- r - 我将如何遍历数据集并找到所有缺失值的位置?
- node.js - 在 Nestjs 的传奇中,我从 rxjs 收到 hostReportError 类型的错误
- sql - 临时 Bigquery 表上的 Unnest 函数
- elasticsearch - 在 Kibana 的可视化工具中显示具有条件和计算的多个指标
- python - 为什么我不能在另一个导入语句中使用作为别名导入的 python 中的模块?
- spring - 避免控制器和服务中的重复代码
- node.js - EJS中字符串中数字的减法/减法