-
Notifications
You must be signed in to change notification settings - Fork 25
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
[BUG] CLI external-auth select-auth fails with an internal_error #270
Comments
I cannot reproduce by running the reproduction steps on their own. This may be related to the specific context of this workflow, what it included before, and the new connector being added later. One baseline question: as you are running the external auth commands yourself, I assume you want the spreadsheet connector to use your credentials, and not the end-user's credentials, is that right? just want to double check this. Other than that, can you create a repro app that shows this failure? Something that can help me reproduce on my end? Without being able to reproduce on my end, it will be very difficult to debug and assist you. |
Correct, I'm using my credentials and not the end-user's. I've created a reproducing repo and PR: arnaubt/slack-external-auth-repro#1 Thanks! |
Thank you! However, that repo is a 404 for me, perhaps private? You can add me as collaborator on it if you do not wish to publicize. |
Sorry! Forgot to make it public, you should be able to access it now. Thanks again! |
Any news? I have the same case, the same error :/ @filmaj |
I am stuck at the same error as well. I was just following the documentation for external auth the first time. |
I tried to dig deeper into this by calling the API directly using my token. So when I call the following curl command: curl -X POST "https://slack.com/api/apps.auth.external.list" \
-H "Authorization: Bearer <redacted>" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{"app_id": "<redacted>"}' I am actually getting the correct output. However the slack cli tool adds
returns
This seems to be server side issue when the parameter |
The
deno-slack
versionsDeno runtime version
OS info
Describe the bug
slack external-auth select-auth
fails withinternal_error
when trying to add OAuth to an existing workflow. The workflow in question has a new step using a Google Sheets connector function. Running the command initially seems to work, although it doesn't detect the new workflow. But after trying a couple of times, it fails with the internal error.I have already reached out to Slack support and they redirected me here.
Full debug logs:
Steps to reproduce
slack external-auth add-secret
slack external-auth add
slack external-auth select-auth
(works correctly but doesn't detect the new workflow)slack external-auth select-auth
(fails with the internal error)Expected result
The workflow is detected and external auth is added for it.
Actual result
The workflow never gets detected and the CLI ends up failing with an internal error.
Requirements
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: