PipedreamHQ / roadmap

Pipedream is an integration platform for developers. Have a feature request or bug to report? Add it here.
https://pipedream.com
30 stars 5 forks source link

403 issue with Reddit: Get subreddits/mine/where #428

Closed cfjedimaster closed 4 years ago

cfjedimaster commented 4 years ago

Describe the bug I've been using the Reddit actions in another workflow and then tried it again in a new one. This time I wanted to get my subscribed subreddits so I added the action: "Get subreddits/mine/where". For where I used the value "subscriber". When I execute it, I get a 403 unauthorized exception. I've confirmed in the auth section it has my account connected.

To Reproduce Steps to reproduce the behavior:

  1. Make a new trigger
  2. Add reddit/Get subreddits mine
  3. Set where to subscriber
  4. Connect your account
  5. Run it

Expected behavior My subscribed subreddits.

Screenshots

image

cfjedimaster commented 4 years ago

It looks like you need to add the scope, mysubreddits.

https://www.reddit.com/dev/api/#GET_subreddits_mine_{where}

Currently the app only asks for account, history, identity, read

dylburger commented 4 years ago

@cfjedimaster would you mind re-authorizing Reddit and trying again? In the auth section of the code step, unlink your account, connect account again, choose New and go through the OAuth authorization process again.

You'll still have an old connected account under https://pipedream.com/apps tied to your old Reddit auth (sans mysubreddits). You can keep that or delete it and link other Reddit code steps with the new auth provision, so you only have a single one.

cfjedimaster commented 4 years ago

Confirmed. Just curious - was I right?

dylburger commented 4 years ago

Yep! Thanks for confirming.