Skip to main content
Question

Slack gives missing scope error when trying to retrieve DM

  • September 16, 2025
  • 4 replies
  • 28 views

I have a workflow which sends a Slack user a DM using Slackbot. The idea is the user then replies in that thread with an image which is then sent to another tool I’m using. I can find the Slack user, send them a DM, but when trying to retrieve that message or the messages in the thread I run into a dead end:

  • Retrieve Thread Messages: Sends data to Slack, gets no response
  • Get Message: Sends data to Slack, gets an error: 

    Failed to find a message in Slack

    This is a new feature! To take advantage of it, you'll need to reconnect your auth. Requires scope `im:history`

  • Get Message: Sends data to Slack, returns missing_scope error

 

The workflow
Using channel and timestamp from step 4

I have reconnected and reauthenticated my slack connection, with no change.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34066 replies
  • September 16, 2025

Hi ​@cakesandale 

Try using a new/different private browser to connect your Slack account or another instances of your Slack app account connection to Zapier: 

 


  • Author
  • New
  • 1 reply
  • September 16, 2025

Hi Troy, I get the same error when creating a second connection to Slack. The authentication works as I am able to find users and send messages - but I cannot search for messages. Suggests it’s a permissions issue not an auth one - does Zapier ask for the im:history permission?


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34066 replies
  • September 16, 2025

@cakesandale 

Help links for using Slack in Zaps: https://zapier.com/apps/slack/integrations#help

 

Prerequisites

To use the Slack app on Zapier, you must have:


Sparsh from Automation Jinn
Forum|alt.badge.img+6

Hey ​@cakesandale,

The error indicates your Slack bot doesn’t have im:history which is required to access a user's direct message history to function correctly. Can you try give your Slack bot this scope to see if it fixes it? Hope it helps!