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"}}]]}