Can't connect Make and Discord

I am trying to connect Discord with make by creating a Discord bot.
I went through the guide and added all of the needed data in the advanced settings section on Make.

I get to the Authentication screen ,but immediately afterwards I get this error message:

{“message”:“The request failed due to failure of a previous request.”,“code”:“SC424”,“suberrors”:[{“message”:“[500] 500: Internal Server Error - See online Help how to configure the connection.”,“name”:“RuntimeError”}],“debug”:[[“request”,“POST”,“https://discord.com/api/v10/oauth2/token",{“body”:{“code”:“***”,“client_id”:“1206862701247209482”,“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”,500,{“body”:{“message”:"500: Internal Server Error”,“code”:0},“headers”:{“date”:“Tue, 13 Feb 2024 07:38:36 GMT”,“content-type”:“application/json”,“content-length”:“52”,“connection”:“close”,“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=v6HVK0iGMzrBtZrTH7q%2F26kDCrFkUWnDebJG%2FDeESts4zYciF3vKAvE%2FG2Re79TVb01MlW36qIjGN%2FBUNV4bwYCTnD1eg1PlsHAcrm97Sqwhb5peW%2FX637S%2BxfvA"}],"group":"cf-nel","max_age":604800}”,“nel”:“{"success_fraction":0,"report_to":"cf-nel","max_age":604800}”,“strict-transport-security”:“max-age=31536000; includeSubDomains; preload”,“x-content-type-options”:“nosniff”,“set-cookie”:[“__cfruid=652e8c14214b6a2a606b7e3f1e73b0cd53b88706-1707809916; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None”,“_cfuvid=Qb5xYuQBrsW7Tr4vwCtiLfB2wUiwFGhCYxnw93iuu84-1707809916889-0-604800000; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None”],“content-security-policy”:“frame-ancestors ‘none’; default-src ‘none’”,“server”:“cloudflare”,“cf-ray”:“854b69754ae01b90-DUB”}}]]}

How can I solve this?

Thank you!

Welcome to the Make community!

For error 500s, you need to use the MDT to see additional info.

If you have the Make DevTool Chrome extension installed, you should be able to view the request and response headers and body from each module when you manually run the scenario.

From the Help Center article about the Make DevTool:

Make DevTool allows you to debug your Make scenarios in a completely new way. It adds an extra pane to the Chrome Developer Tools. Using this new debugger pane, you’re able to check all the manual runs of your scenario, review all the performed operations and see the details of every API call performed. It also brings a whole bunch of new opportunities for Apps development. You’re able to check every call that your app has performed. Thanks to this extension, you can easily debug your scenario, see which module, operation, even which single response causes the error, and then get your scenario back on track. Try it out and let your scenarios shine!

For more information on how to install and use this, see https://www.make.com/en/help/scenarios/integromat-devtool

2 Likes

When I am trying to use the mentioned addon to debug the issue I get this message -

That might be a bug in the plugin, and might only be working on certain web browsers.

For technical issues like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your situation might not be suitable for an open forum discussion.

You can open a new ticket, or if you are unable to login for some reason, you also can reach support using the contact form on the website.

If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.

2 Likes