Error 500 Internal Server Error

GET https://nomikai.fr/connect/discord/check?code=P7OxgFHv8IBFrrCLZiJYUgUk7tbItZ

Forwarded to ErrorController (4e7c95)

HTTP Client

1 Total requests
1 HTTP errors

Clients

http_client 1

Requests

POST https://discord.com/api/oauth2/token
Request options
[
  "headers" => [
    "Content-Type" => "application/x-www-form-urlencoded"
  ]
  "body" => "client_id=1343222396836122665&client_secret=hcJA292JT0z3wRvtTwGAbrwcRbJHhoSY&code=P7OxgFHv8IBFrrCLZiJYUgUk7tbItZ&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fnomikai.fr%2Fconnect%2Fdiscord%2Fcheck"
]
Response 400
[
  "info" => [
    "header_size" => 1659
    "request_size" => 197
    "total_time" => 0.249691
    "namelookup_time" => 0.016701
    "connect_time" => 0.03957
    "pretransfer_time" => 0.080258
    "size_upload" => 208.0
    "size_download" => 79.0
    "speed_download" => 316.0
    "speed_upload" => 833.0
    "download_content_length" => 79.0
    "upload_content_length" => 208.0
    "starttransfer_time" => 0.080278
    "primary_ip" => "162.159.137.232"
    "primary_port" => 443
    "local_ip" => "192.168.0.15"
    "local_port" => 43366
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 80131
    "connect_time_us" => 39570
    "namelookup_time_us" => 16701
    "pretransfer_time_us" => 80258
    "starttransfer_time_us" => 80278
    "total_time_us" => 249691
    "effective_method" => "POST"
    "start_time" => 1761727181.8959
    "original_url" => "https://discord.com/api/oauth2/token"
    "pause_handler" => Closure(float $duration) {#690
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#686 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#680 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => """
      *   Trying 162.159.137.232:443...\n
      * Connected to discord.com (162.159.137.232) port 443 (#0)\n
      * ALPN: offers h2,http/1.1\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384\n
      * ALPN: server accepted h2\n
      * Server certificate:\n
      *  subject: CN=discord.com\n
      *  start date: Sep  8 08:33:25 2025 GMT\n
      *  expire date: Dec  7 09:33:08 2025 GMT\n
      *  subjectAltName: host "discord.com" matched cert's "discord.com"\n
      *  issuer: C=US; O=Google Trust Services; CN=WE1\n
      *  SSL certificate verify ok.\n
      * using HTTP/2\n
      * h2h3 [:method: POST]\n
      * h2h3 [:path: /api/oauth2/token]\n
      * h2h3 [:scheme: https]\n
      * h2h3 [:authority: discord.com]\n
      * h2h3 [content-type: application/x-www-form-urlencoded]\n
      * h2h3 [accept: */*]\n
      * h2h3 [user-agent: Symfony HttpClient (Curl)]\n
      * h2h3 [accept-encoding: gzip]\n
      * h2h3 [content-length: 208]\n
      * Using Stream ID: 1 (easy handle 0x5555b4d8a9c0)\n
      > POST /api/oauth2/token HTTP/2\r\n
      Host: discord.com\r\n
      content-type: application/x-www-form-urlencoded\r\n
      accept: */*\r\n
      user-agent: Symfony HttpClient (Curl)\r\n
      accept-encoding: gzip\r\n
      content-length: 208\r\n
      \r\n
      * We are completely uploaded and fine\n
      * old SSL session ID is stale, removing\n
      < HTTP/2 400 \r\n
      < date: Wed, 29 Oct 2025 08:39:42 GMT\r\n
      < content-type: application/json\r\n
      < content-length: 79\r\n
      < cf-ray: 99615d2769c1ae33-MRS\r\n
      < cache-control: no-store\r\n
      < pragma: no-cache\r\n
      * Added cookie __dcfduid="d04a00f0b4a211f08b63d130aa7bbcc1" for domain discord.com, path /, expire 1919407182\n
      < set-cookie: __dcfduid=d04a00f0b4a211f08b63d130aa7bbcc1; Expires=Mon, 28-Oct-2030 08:39:42 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax\r\n
      * Added cookie __sdcfduid="d04a00f0b4a211f08b63d130aa7bbcc16977d51adf6172fce6381619097b4c7a18c2bad79014a9d3e8a7b39d58ab229d" for domain discord.com, path /, expire 1919407182\n
      < set-cookie: __sdcfduid=d04a00f0b4a211f08b63d130aa7bbcc16977d51adf6172fce6381619097b4c7a18c2bad79014a9d3e8a7b39d58ab229d; Expires=Mon, 28-Oct-2030 08:39:42 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax\r\n
      * Added cookie _cfuvid="EqY2QJ9xVM4N9u9_2ob6kEWs1CKdiG5XO1OXai2F1lE-1761727182129-0.0.1.1-604800000" for domain discord.com, path /, expire 0\n
      < set-cookie: _cfuvid=EqY2QJ9xVM4N9u9_2ob6kEWs1CKdiG5XO1OXai2F1lE-1761727182129-0.0.1.1-604800000; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None\r\n
      < strict-transport-security: max-age=31536000; includeSubDomains; preload\r\n
      < x-discord-features: oauth\r\n
      < via: 1.1 google\r\n
      < alt-svc: h3=":443"; ma=86400\r\n
      < cf-cache-status: DYNAMIC\r\n
      < report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=lI1fAfaIXjVKO2kqiuNvrkxWtAA0EmWBvrOdWcRQps%2Fu8d1Wzty7Jw3fazvqfntlHLAIaNDD4NYKT01TiDV9sBOdW4GY9RF8WUn%2F5p025P9l0B2QsBAz1B119YwP"}],"group":"cf-nel","max_age":604800}\r\n
      < nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}\r\n
      < x-content-type-options: nosniff\r\n
      < reporting-endpoints: csp-sentry="https://o64374.ingest.sentry.io/api/5441894/security/?sentry_key=8fbbce30bf5244ec9429546beef21870&sentry_environment=stable"\r\n
      < 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\r\n
      < server: cloudflare\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/2 400 "
    "date: Wed, 29 Oct 2025 08:39:42 GMT"
    "content-type: application/json"
    "content-length: 79"
    "cf-ray: 99615d2769c1ae33-MRS"
    "cache-control: no-store"
    "pragma: no-cache"
    "set-cookie: __dcfduid=d04a00f0b4a211f08b63d130aa7bbcc1; Expires=Mon, 28-Oct-2030 08:39:42 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax"
    "set-cookie: __sdcfduid=d04a00f0b4a211f08b63d130aa7bbcc16977d51adf6172fce6381619097b4c7a18c2bad79014a9d3e8a7b39d58ab229d; Expires=Mon, 28-Oct-2030 08:39:42 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax"
    "set-cookie: _cfuvid=EqY2QJ9xVM4N9u9_2ob6kEWs1CKdiG5XO1OXai2F1lE-1761727182129-0.0.1.1-604800000; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None"
    "strict-transport-security: max-age=31536000; includeSubDomains; preload"
    "x-discord-features: oauth"
    "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=lI1fAfaIXjVKO2kqiuNvrkxWtAA0EmWBvrOdWcRQps%2Fu8d1Wzty7Jw3fazvqfntlHLAIaNDD4NYKT01TiDV9sBOdW4GY9RF8WUn%2F5p025P9l0B2QsBAz1B119YwP"}],"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"
  ]
  "response_content" => [
    "{"error": "invalid_grant", "error_description": "Invalid \"code\" in request."}"
  ]
]