Skip to content

Instantly share code, notes, and snippets.

@ThomasAunvik
Created April 17, 2020 10:28
Show Gist options
  • Save ThomasAunvik/277f894bb7ef713bd16522909f6f9c01 to your computer and use it in GitHub Desktop.
Save ThomasAunvik/277f894bb7ef713bd16522909f6f9c01 to your computer and use it in GitHub Desktop.
{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at createError (/home/pi/AnimeListBot-Website/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/home/pi/AnimeListBot-Website/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/home/pi/AnimeListBot-Website/node_modules/axios/lib/adapters/http.js:236:11)\n at IncomingMessage.emit (events.js:322:22)\n at endReadableNT (_stream_readable.js:1187:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)","config":{"url":"https://discordapp.com/api/v6/oauth2/token","method":"post","data":"client_id=515269277553655823&client_secret=#HIDDEN SECRET CODE#&grant_type=authorization_code&code=# AUTH KEY RECIEVED #&redirect_uri=https%3A%2F%2Fanimelist.thaun.dev%2Fauthorize&scope=identify%20email%20connections","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/0.19.2","Content-Length":237},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1}}a{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at createError (/home/pi/AnimeListBot-Website/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/home/pi/AnimeListBot-Website/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/home/pi/AnimeListBot-Website/node_modules/axios/lib/adapters/http.js:236:11)\n at IncomingMessage.emit (events.js:322:22)\n at endReadableNT (_stream_readable.js:1187:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)","config":{"url":"https://discordapp.com/api/v6/oauth2/token","method":"post","data":"client_id=515269277553655823&client_secret=9I7sTCQMt3KYuFrIAylZc8HO5Of3ccdS&grant_type=authorization_code&code=IMZNvLsI6DY7gfApMhNSOVEft43jhU&redirect_uri=https%3A%2F%2Fanimelist.thaun.dev%2Fauthorize&scope=identify%20email%20connections","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/0.19.2","Content-Length":237},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment