bolt-js icon indicating copy to clipboard operation
bolt-js copied to clipboard

calls.info method giving `internal_error`

Open ravgeetdhillon opened this issue 11 months ago • 5 comments

(Filling out the following with as much detail as you can provide will help us solve your issue sooner.)

@slack/bolt version

4.3.0

Refer to your package.json

Your App and Receiver Configuration

const token = process.env.SLACK_BOT_TOKEN;
const slackEvents = eventsApi.createEventAdapter(
  process.env.SLACK_SIGNING_SECRET
);

const client = new WebClient(token, {
  logLevel: LogLevel.INFO,
});

Node.js runtime version

20.11.0

Steps to reproduce:

(Share the commands to run, source code, and project settings)

  1. Get the ID of a Slack Huddle (event.user.profile.huddle_state_call_id) received from user_huddle_changed event.
  2. Pass this ID to calls.info({ id }) method

Expected result:

It should return the correct response or a detailed error if anything is wrong.

Actual result:

It gives internal_error.

Image

Even while trying at https://api.slack.com/methods/calls.info/test, it gives an error.

Image

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. :bow:

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

ravgeetdhillon avatar May 14 '25 18:05 ravgeetdhillon

Hi, @ravgeetdhillon! Thanks for submitting this question. To get a better idea of your use case to best help you, are you just trying to pull data about huddles that occurred in the workspace the app is installed? Or does your app initiate calls at all using the Calls API?

hello-ashleyintech avatar May 14 '25 20:05 hello-ashleyintech

@hello-ashleyintech Thanks for your response. I am working on a slack app that pulls the data related to a huddle that was started manually by the members in Slack. Then, I need to store this data to our time tracking software. I am not initiating calls with the Calls API.

ravgeetdhillon avatar May 15 '25 07:05 ravgeetdhillon

@ravgeetdhillon Thank you for the additional context! I am going to ask my team if there's a workaround way to get Huddles info through a publicly available API that you can access. Based on some initial research it seems like there might not be a super direct way to get that info as of right now programmatically, but will double check with my team just to make sure I'm not overlooking any other approaches.

Re: the Calls API, it seems like its purpose is more for initiating calls and then handling / managing the initialized call. Similar to you, I would definitely expect it to be able to pull up history for any call through calls.info, but I suspect it may only allow you to search for calls that were created through the API.

Will report back my findings - please feel free to add any additional info in the meantime!

hello-ashleyintech avatar May 15 '25 16:05 hello-ashleyintech

@ravgeetdhillon Hi!

Received an update from the team - the Calls API is for 3P calls initiated through Slack only and does not include Huddles. It seems that raw Huddle info is currently only publicly accessible in the UI. To surface this as a feature request, I recommend submitting feedback here so it can be routed to the proper team!

hello-ashleyintech avatar May 16 '25 18:05 hello-ashleyintech

👋 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.

github-actions[bot] avatar Jun 16 '25 00:06 github-actions[bot]

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.

github-actions[bot] avatar Jun 30 '25 00:06 github-actions[bot]