Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy Slack Integration Failing Due to Deprecated API Methods #640

Open
christopher-turnbull-77 opened this issue Jan 17, 2025 · 0 comments

Comments

@christopher-turnbull-77

Description

The legacy Slack integration is failing with the following error:

Image

Current Behavior

  • The integration is located in src/actions/slack/legacy_slack/
  • It's attempting to use deprecated Slack API methods for file uploads
  • The error suggests Slack is no longer accepting these API calls

Proposed Solution

There are a few potential fixes:

  1. Force V1 upload by setting FORCE_V1_UPLOAD=on environment variable
  2. Update the code to use Slack's V2 file upload API methods
  3. Create a new, modern Slack integration using current Slack API methods

Additional Context

  • This appears to be affecting the file upload functionality specifically
  • The integration has both V1 and V2 upload code paths, but neither are working with current Slack API requirements
  • The error message indicates a mismatch between required and accepted scopes

Impact

Users are unable to upload files to Slack through this integration, breaking existing workflows.

Questions

  1. Should we maintain the legacy integration or create a new one?
  2. If maintaining, which approach (V1 force or V2 upgrade) would be preferred?
  3. Are there any existing plans to replace this legacy integration?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant