Best answer

403 error when connecting Zapier to Discourse

  • 24 September 2020
  • 4 replies
  • 282 views

Userlevel 1

Hi!

I am the admin of community.pynk.io and today i was assigned the task of connecting Discourse and Twitter using Zapier. I followed all steps but it happens that once i’ve filled all the fields(on Zapier side) to connect to my Discourse instance(hosted with you guys!) it throws an 403 error:

“authentication failed: Error code 403: Yu are not permitted to view the requested resource. The API username or key in invalid”

…that’s the error.

I’ve created an API key with user level=All Users and have choosen a couple of scopes to limit some things.

On Zapier side i’ve correctly typed the host url(https://community.pynk.io) and the API key i created before besides i 've used my own account on forum(admin privileges of course) but still no success after all.

The strange thing is that other two admins from our forum have tried to connect Zapier with Discourse(allow Zapier to acces our accounts on Discourse forum) and the same error is thrown…i am based in Cuba but those guys are based in England and Scotland, so i guess it is not a problem of blocking some IP’s or something like that.

Any help would be appreciated!

Thanks!

icon

Best answer by Danvers 29 September 2020, 16:38

View original

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

Userlevel 7
Badge +12

Hi @deyner1984!

 

The first thing to check is that your bot user will need to have the "Manage Webhooks" permission in Discord: https://discordapp.com/developers/docs/topics/permissions

If you’ve already done that, double check that you entered the API key and password correctly. If that doesn’t help then the best thing to do is to get in touch with the Support team as they’ll be able to take a closer look at your Zap with you. The best way to do that is using the Get Help form: https://zapier.com/app/get-help

Hello @Danvers 

 

That response seems to be for Discord, the chat app. OP (and myself too!) are having issues connecting to Discourse, the forum server.

 

@deyner1984 did you ever get a solution for this?

 

Thanks!

I was able to make it work by using a global key, but I feel really uncomfortable with that level of access. Is there a simple way to limit it? I only need Zapier to read forum posts.

Userlevel 7
Badge +8

I was able to make it work by using a global key, but I feel really uncomfortable with that level of access. Is there a simple way to limit it? I only need Zapier to read forum posts.

 

Hi @Nacho - I understand your concerns here but I believe that’s the only permission level that is likely going to do what you want. We do not have key adjustments per access. I’m sorry I’m not more help here!