Can't connect to Discord via any of the connections types

Hi,

Ive got 2 basic scenarios on my account Telegram to Discord, non of them wants to work with Discord,

  1. 1-st basic option to connect https://www.make.com/en/help/apps/communication/discord#connect-discord-to-make-using-oauth2

with 1-st scenario doesnt work https://eu2.make.com/122452/scenarios/230285/edit?showCheckRuns=true

error message: 403 Missing Permissions

  1. 2-nd connection option https://www.make.com/en/help/apps/communication/discord#list-channel-messages

with 2-nd scenario doesn’t work

error message - 401 connection not authorized

Anyone experienced such error ?

regards

Welcome to the Make community!

1.

Please upload screenshots of the module fields/ filters/ errors in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2.

Please export the scenario blueprint file to allow others to replicate the issue. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826

Uploading it here will look like this:

blueprint.json (12.3 KB)

3.

Please provide the input/output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the contents as a bundle.json file, and upload it here into this discussion thread:

Screenshot_2023-10-06_141025

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hi,

Scenario its based on this template:
https://www.make.com/en/templates/3559-post-new-telegram-messages-on-discord

I attached Blueprint
blueprint.json (32.4 KB)

can’t provide input/output because secnario is not connected.


The latest Make blog post may help

https://www.make.com/en/blog/discord-integrations-guide

2 Likes

Hi @profeska :wave:

Either you connect Discord in “automatic” (easy mode) and this will normally create an Integromat / Make bot for you to add to your server.

Or you manually create a new bot (difficult mode), add it to your server and, when you want to connect it to Make, copy and paste a number of keys.

403 error : your bot / connection has not the right permissions to do what you want to do

401 error : your bot / connection is not really setup and you are unauthorized

2 Likes

hi,

Easy mode its not perfect… and its not working. I will prefere to connect via advanced mode but I experiencing such error:

{“message”:“The request failed due to failure of a previous request.”,“code”:“SC424”,“suberrors”:[{“message”:“[401] {"error":"invalid_client"} - See online Help how to configure the connection.”,“name”:“RuntimeError”}],“debug”:[[“request”,“POST”,“https://discord.com/api/v10/oauth2/token",{“body”:{“code”:“***”,“client_id”:“1158480621056823346”,“grant_type”:“authorization_code”,“redirect_uri”:“https://www.integromat.com/oauth/cb/discord”,“client_secret”:“***”},“headers”:{“user-agent”:“Make/production”,“content-type”:“application/x-www-form-urlencoded”},“timeout”:40000,“type”:“urlencoded”}],[“response”,401,{“body”:{“error”:“invalid_client”},“headers”:{“date”:"Tue, 10 Oct 2023 12:59:36 GMT”,“content-type”:“application/json”,“content-length”:“27”,“connection”:“close”,“cache-control”:“no-store”,“pragma”:“no-cache”,“www-authenticate”:“Basic error="invalid_client", error_description=""”,“set-cookie”:[“__dcfduid=dda59488676c11ee99409a522a0ad06b; Expires=Sun, 08-Oct-2028 12:59:36 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/”,“__sdcfduid=dda59488676c11ee99409a522a0ad06b14afdd765590a323f8e9c665e258946297702c2fb3600d9b25306ab843529e4e; Expires=Sun, 08-Oct-2028 12:59:36 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/”,“__cfruid=b8de4907242d1ab4994c499c37c046891fac7bc3-1696942776; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None”,“_cfuvid=ZBPQai32w8pJLaDFdv7DnyBf8ka4Iw_1cH1Js8LOcGQ-1696942776851-0-604800000; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None”],“strict-transport-security”:“max-age=31536000; includeSubDomains; preload”,“via”:“1.1 google”,“alt-svc”:“h3=":443"; ma=86400”,“cf-cache-status”:“DYNAMIC”,“report-to”:“{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=VHu3LKqQp5VgH7eIeQMj%2Ftd4QTMG1v%2F%2Bg2dZMtrdfbvxGSFknkWFAoxFNoZtoNTh4pxPyf3Q77oSDL5mUS8QndwT7t17idlTHBmERS1%2Fs4brSuzhmA0MF47qfYU7"}],"group":"cf-nel","max_age":604800}”,“nel”:“{"success_fraction":0,"report_to":"cf-nel","max_age":604800}”,“x-content-type-options”:“nosniff”,“content-security-policy”:“frame-ancestors ‘none’; default-src ‘none’”,“server”:“cloudflare”,“cf-ray”:“813f0aa25e085703-DUB”}}]]}