Error 500 Internal Server Error

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

Forwarded to ErrorController (18fb8a)

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" => 1661
    "request_size" => 197
    "total_time" => 0.287759
    "namelookup_time" => 0.015725
    "connect_time" => 0.038626
    "pretransfer_time" => 0.080652
    "size_upload" => 208.0
    "size_download" => 79.0
    "speed_download" => 274.0
    "speed_upload" => 722.0
    "download_content_length" => 79.0
    "upload_content_length" => 208.0
    "starttransfer_time" => 0.080674
    "primary_ip" => "162.159.136.232"
    "primary_port" => 443
    "local_ip" => "192.168.0.15"
    "local_port" => 58020
    "http_version" => 3
    "protocol" => 2
    "scheme" => "HTTPS"
    "appconnect_time_us" => 80510
    "connect_time_us" => 38626
    "namelookup_time_us" => 15725
    "pretransfer_time_us" => 80652
    "starttransfer_time_us" => 80674
    "total_time_us" => 287759
    "effective_method" => "POST"
    "start_time" => 1761725983.8667
    "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.136.232:443...\n
      * Connected to discord.com (162.159.136.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 0x5555b494d7b0)\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:19:44 GMT\r\n
      < content-type: application/json\r\n
      < content-length: 79\r\n
      < cf-ray: 99613fe7ba34e17f-MRS\r\n
      < cache-control: no-store\r\n
      < pragma: no-cache\r\n
      * Added cookie __dcfduid="063a28aab4a011f09fe4e97a10fbf6a0" for domain discord.com, path /, expire 1919405984\n
      < set-cookie: __dcfduid=063a28aab4a011f09fe4e97a10fbf6a0; Expires=Mon, 28-Oct-2030 08:19:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax\r\n
      * Added cookie __sdcfduid="063a28aab4a011f09fe4e97a10fbf6a0ab289b8a503484f5ba138d424dd904a4c243cd85e1bd8de5c6cb1f3ca0f0f572" for domain discord.com, path /, expire 1919405984\n
      < set-cookie: __sdcfduid=063a28aab4a011f09fe4e97a10fbf6a0ab289b8a503484f5ba138d424dd904a4c243cd85e1bd8de5c6cb1f3ca0f0f572; Expires=Mon, 28-Oct-2030 08:19:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax\r\n
      * Added cookie _cfuvid="7C3knLID6t211JSScM6upYesA4RiepQp9vQkst929vI-1761725984138-0.0.1.1-604800000" for domain discord.com, path /, expire 0\n
      < set-cookie: _cfuvid=7C3knLID6t211JSScM6upYesA4RiepQp9vQkst929vI-1761725984138-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=3EK8R6mU%2BFF9hjn0h%2BaJNgKi0E9EmXiMXxocdTv0CbZBHLG6xvCV%2FwUuHLa8q4KmBbPOU0d318yQgEH8AV8o22xpCwOQ06thnys82hmTOHyFkjcsl4kIn7tT9tbc"}],"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:19:44 GMT"
    "content-type: application/json"
    "content-length: 79"
    "cf-ray: 99613fe7ba34e17f-MRS"
    "cache-control: no-store"
    "pragma: no-cache"
    "set-cookie: __dcfduid=063a28aab4a011f09fe4e97a10fbf6a0; Expires=Mon, 28-Oct-2030 08:19:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax"
    "set-cookie: __sdcfduid=063a28aab4a011f09fe4e97a10fbf6a0ab289b8a503484f5ba138d424dd904a4c243cd85e1bd8de5c6cb1f3ca0f0f572; Expires=Mon, 28-Oct-2030 08:19:44 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/; SameSite=Lax"
    "set-cookie: _cfuvid=7C3knLID6t211JSScM6upYesA4RiepQp9vQkst929vI-1761725984138-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=3EK8R6mU%2BFF9hjn0h%2BaJNgKi0E9EmXiMXxocdTv0CbZBHLG6xvCV%2FwUuHLa8q4KmBbPOU0d318yQgEH8AV8o22xpCwOQ06thnys82hmTOHyFkjcsl4kIn7tT9tbc"}],"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."}"
  ]
]