Why is Creating a Custom Oath for Slack Giving Invalid Permission?

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

i am trying to create a custom oath for slack and it gives throwing invalid permission

Can you please elaborate?

every time i try to create a custom oauth for the slack and then try to connect any accout it throws invalid permission, this happens eveytime i try to have custom scopes/permission like "app_mentions:read" etc etc

and yes the client id and secret id are valid , and also the redirect uri

That looks like a scope configuration issue. The top input in the Pipedream UI is for Bot Token scopes, the bottom is for User Token scopes. Make sure the configuration there matches what you have in Slack for your app there.

ohhh

it worked

thank you it would really be helpful if you update the doc of it

We’re shipping an updated UI very soon that I think improves that UX