Discord Get a Message - content empty

Hello,
I would like to retrieve a message from Discord.
However, I have all the metadata, but the “content” remains empty.

I understand from this post :

that I need to create a bot, to associate it with my make connection.
However, the option no longer seems to be available in make.
So I don’t understand what I need to do.

Does retrieving a message require setting up an additional bot?
Or enter login information?

Thanks for helping

Welcome to the Make Community!

Yes, you will need to create a Discord developer account, create an OAuth integration, and grant read messages permission.

Then, create a new Discord connection in your module. Expand the advanced settings to insert your Custom Discord app ID and screen keys BEFORE clicking Sign-In.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

Thanks

Thank you,
After my numerous attempts, it does not work.
I don’t understand what I’m supposed to do, the tuto seems old, a lot of things have changed since it was made.
Managing rights and authorizations seems rather complex

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

If it’s help, currently i have this error, when a add the bot to the serveur

{"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":"1346931126874148874","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":"Wed, 05 Mar 2025 19:59:33 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=5b64275ef9fc11ef84ad9e23e03b9e9f; Expires=Mon, 04-Mar-2030 19:59:33 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax","__sdcfduid=5b64275ef9fc11ef84ad9e23e03b9e9ff0889b8a9e06dd03b2231110d3ccce83409171887ecf58242aca155171784685; Expires=Mon, 04-Mar-2030 19:59:33 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax","__cfruid=35cf381987a541ec0df8f896d0377c011b7616bb-1741204773; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None","_cfuvid=I2xz9p68Z1CiE9SszI2L.lgMvnBpUTrOGx4F1tbgc.w-1741204773267-0.0.1.1-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\\/v4?s=uRg3lJlJyPdFdrweZeXqfn8Njyqax%2BLRJYKRdB2idbO45Xpm4ko3BPWoMiTffY3scSU93gRxrG%2FjrObvKWS1AghXXh9FCC0Tj41vP84He5WM7y6GouBToylBhgEk\"}],\"group\":\"cf-nel\",\"max_age\":604800}","nel":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}","x-content-type-options":"nosniff","reporting-endpoints":"csp-sentry=\"https://o64374.ingest.sentry.io/api/5441894/security/?sentry_key=8fbbce30bf5244ec9429546beef21870&sentry_environment=stable\"","content-security-policy":"frame-ancestors 'none'; default-src https://o64374.ingest.sentry.io; report-to csp-sentry; report-uri https://o64374.ingest.sentry.io/api/5441894/security/?sentry_key=8fbbce30bf5244ec9429546beef21870&sentry_environment=stable","server":"cloudflare","cf-ray":"91bc31c80ceb1b7b-DUB"}}]]}

I have provided examples of how to do/use this integration/module elsewhere on the forum if you want to go down this route. I think it’s in one of the threads I replied to previously. View my profile (or use the search feature with my username @samliew) to find this topic.

I’ve posted a bot setup guide there and have also helped others privately to set it up over screenshare.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

2 Likes

I’m happy to share with you the result.

I get a content :slight_smile:

2 Likes