Comments (3)
不好意思同学😅,这个issue回复一周后没在追问,认为是解决,所以close了,抱歉;
axios默认的adaptor会用XMLHttpRequest(browser)或者http(node),但在 Cloudflare Workers里默认是使用fetch,所以需要自定义一个适配器;这个场景我记一下,之后一起更新到文档里。
from node-sdk.
上面的报错看不出什么,如果想要调用多维表格的api完成一些功能,可以参考这篇教程:https://open.feishu.cn/document/home/quick-access-to-base/preparation
from node-sdk.
我这边是在 Cloudflare Workers 运行,也会报这个错误。
我尝试使用 @haverstack/axios-fetch-adapter
更换掉默认的 axios adapter 可以正常运行:
import fetchAdapter from "@haverstack/axios-fetch-adapter";
client.httpInstance.defaults.adapter = fetchAdapter;
@mazhe-nerd 你们 Lark 是不是对 GitHub Issue 有什么指标要求?不进一步询问用户更详细的错误信息,直接甩一篇不相关的文档然后草草关 issue 就算解决了是吧。😅
from node-sdk.
Related Issues (20)
- 通讯录中批量获取用户这个方法在SDK中不存在 HOT 2
- approval 事件订阅缺失 HOT 3
- Can not upload files HOT 5
- 想问下code-gen是如何自动生成的 HOT 1
- 这个验证请求的代码是不是有问题 HOT 3
- 审批实例状态变更 这个事件可以用EventDispatcher来进行处理吗 HOT 1
- EventDispatcher 收到消息后不分发 HOT 1
- 字节内部也能用吧? HOT 2
- 下载文件能否支持直接导出流? HOT 1
- 【BUG】发送消息失败 HOT 18
- 多维表格:获取字段类型错误 HOT 3
- bug: 多维表格下的查询记录接口问题 HOT 2
- BUG:多维表格添加记录无法记录字段内容 HOT 1
- 新卡片回传交互结构类型不支持 HOT 2
- 文档错误 HOT 1
- 延时更新消息卡片接口不支持 HOT 1
- yarn.lock 中包含字节内网registry地址 HOT 1
- 请问支持在Cloudflare worker 中使用吗? HOT 1
- drive.file.bitable_record_changed_v1 缺失 HOT 5
- 批量获取用户信息接口中应该如何填写多个userId HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sdk.