Comments (4)
Hey @RyokoKassai 👋 This warning actually originates from the @slack/web-api
package, so going to first move the issue!
from node-slack-sdk.
Oops! Didn't mean to pin. My screen jumped right before clicking "Transfer issue"... But regardles, this warning is hardcoded into SDK for uses of files.upload
to encourage using the files.uploadV2
method instead.
Timeout errors were fairly common when uploading larger files with files.upload
so a backend change was made to expose new endpoints for uploading files and this method was created in the SDK. As I understand, there's no absolute reason for why these uploads were failing but it was most common with larger files.
The files.uploadV2
method offers much more stability by using a dedicated endpoint for each file upload and should resolve the timeout issues from files.upload
. Hopefully this clears a bit up, but I'm also curious if you have any interest in sticking with files.upload
?
from node-slack-sdk.
👋 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.
from node-slack-sdk.
Related Issues (20)
- types: add type tests via tsd
- Web-sdk not compatible with CRA? HOT 5
- Is it possible to get typing event or indicator when a user in slack starts typing in a message HOT 2
- Typescript type error for `web.files.uploadV2()` arguments when using `file_uploads` HOT 2
- Missing exported types (Channel, etc) HOT 7
- Bun runtime support for @slack/web-api HOT 1
- Way to disable message content being logged HOT 3
- Main thread crashes due to unhandled error from @slack/web-api SDK HOT 3
- Update files.upload Documentation on Slack API Website for files.uploadV2 HOT 4
- 'process is not defined' in react vite HOT 1
- The icon_url option on chat.postMessage does not seem to affect the preview avatar image shown in the thread reply summary HOT 3
- Please support `AbortSignal` HOT 2
- Document inconsistency: checkboxes block element's description can have both plain_text and mrkdwn HOT 2
- icon_url is not working in thread replies.
- socket-mode: Type event payloads HOT 1
- web-api: Consider removing need to provide empty object as argument to zero-argument methods HOT 2
- web-api: Consider removing empty interfaces HOT 5
- Unhandled event 'websocket open' in state 'connected'. HOT 10
- sharedPublicURL rejects with error "not_allowed" for no clear reason HOT 2
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-slack-sdk.