Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

365
Views
Discord api tipo de concesión Ninguno no es compatible

este código me devuelve esto: {"error": "unsupported_grant_type", "error_description": "Tipo de concesión Ninguno no es compatible"}. ¿Qué estoy haciendo mal?

 app.get('*', (req,res) => { res.sendFile(__dirname + "/test.html") console.log(req.query.code) const Body = { client_id: "870076989682360330", client_secret: "my secret", code: req.query.code, redirect_uri: "http://localhost:3000", grant_type: "authorization_code", scope :"scope" } if(req.query.code) { reqst.post({ uri: "https://discord.com/api/oauth2/token", headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: JSON.stringify(Body) }, (x,y,z) => { console.log(z) }) }

})

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

¿Tiene alcances? si no, intente agregar ámbitos y, en caso afirmativo, puede verificar este token de acceso Discord Ouath2 'Tipo de concesión Ninguno no es compatible' y discord docs https://discord.com/developers/docs/topics/oauth2#authorization-code-grant

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!