You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using hono, bun and cloudflare wrangler, I'm getting this error when I use web-api.
AxiosError: The 'credentials' field on 'RequestInitializerDict' is not implemented.
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
I don't know
Reproducible in:
The Slack SDK version
"@slack/web-api": "^7.3.1",
Node.js runtime version
node: v20.12.0
bun: 1.1.22
OS info
roductName: macOS
ProductVersion: 14.6
BuildVersion: 23G80
Darwin Kernel Version 23.6.0: Fri Jul 5 17:56:41 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6000
Steps to reproduce:
Any request is giving this error, examples of requests I'm using:
web.oauth.v2.access
web.team.info
web.conversations.list
Expected result:
Just work!
Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Based on the error, this seems like an issue with the Cloudflare Workers SDK. I found this related issue here. The good news is, since it looks like you're using Axios, someone release a PR for a fix for this issue for Axios ~1 hour ago!
In the meantime, while that's getting reviewed, merged, and released, someone suggested this approach:
on the server-side i just check if credentials are supported and set them to undefined if not
@emersonlaurentino
Even after resolving this specific error, you'll encounter more errors with Bun and Cloudflare Workers because this project focuses on Node.js runtime use cases. I understand you prefer first-party tools, but I created third-party libraries to build your Slack apps on edge function platforms. Please consider using the alternative solution this time. See #1603 (comment) for more details.
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
I'm using hono, bun and cloudflare wrangler, I'm getting this error when I use
web-api
.Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
The Slack SDK version
Node.js runtime version
OS info
roductName: macOS ProductVersion: 14.6 BuildVersion: 23G80 Darwin Kernel Version 23.6.0: Fri Jul 5 17:56:41 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6000
Steps to reproduce:
Any request is giving this error, examples of requests I'm using:
web.oauth.v2.access
web.team.info
web.conversations.list
Expected result:
Just work!
Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: