slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
162 stars 27 forks source link

[BUG] Slackbot link to function execution failure logs leads to blank page #326

Open liorp opened 4 months ago

liorp commented 4 months ago

The deno-slack versions

    "deno-slack-sdk/": "https://deno.land/x/deno_slack_sdk@2.9.0/",
    "deno-slack-api/": "https://deno.land/x/deno_slack_api@2.3.2/"

Deno runtime version

deno 1.43.3 (release, aarch64-apple-darwin)
v8 12.4.254.13
typescript 5.4.5

OS info

ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79
Darwin Kernel Version 23.5.0: Wed May  1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030

Describe the bug

Slackbot doesn't show logs of function execution failure.

Steps to reproduce

  1. When function fails to execute,
  2. Slackbot sends something like: "%s ran a workflow that you built and there was a problem with the step: Function failed to execute You can view the details for this error in the logs"
  3. The link leads to a 404 page (https://api.slack.com/apps/)

Expected result

I should be able to see the logs.

Actual result

I'm getting a 404 page.

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.

filmaj commented 4 months ago

Hey @liorp thanks for reporting this! Indeed I can confirm this issue. I will raise this internally 🙇

shakepay-tl commented 3 months ago

I have the same issue and after contacting Slack support I was referred to this issue

HenriWilliams commented 3 weeks ago

I ran into this issue after installing an app using slack install and fixed it by running slack deploy if that helps anyone.