Why am I Unable to Fetch User Screen Name Using Slack API on Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

Hi Friends!
I’ve been having issues with the slack API and wanted to ask if you guys had a clue what was happening.
I currently have a trigger based on a slack command, and this trigger returns info about the user as well.
However, it doesnt show me their screen name and only their username.
To fetch the screen name, it seems like I have to call the users.info endpoint from the Slack API with the user ID.
Whenever I try to do that though, Pipedream returns saying that the user has not been found. This is bizarre because if I use the “List Users” action I can see a long list of users with my ID in it as well.
Does anyone know what is wrong?

image.png

I think you might need to send the user ID as a param and not as a part of the data object, right?

Wow, that was it. I can’t believe it :woman-facepalming:
Thank you