Error 500 Internal Server Error

POST http://etiennewalch.fr/

Forwarded to ErrorController (1b8dec)

HomeController :: index

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
form
[
  "email" => "emmajunse664948@gmail.com"
  "object" => ""
  "message" => "Let's make this a night to remember   -   https://nMm5id.short.gy/Osi49c?Achiele"
]
submit
""

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\HomeController::index"
_remove_csp_headers
true
_route
"app_home_index"
_route_params
[]
_stopwatch_token
"3b4438"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
cache-control
"no-cache"
content-length
"168"
content-type
"application/x-www-form-urlencoded"
host
"etiennewalch.fr"
pragma
"no-cache"
referer
"https://etiennewalch.fr/"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36 Herring/95.1.8810.11"
x-forwarded-for
"89.249.73.41"
x-forwarded-host
"etiennewalch.fr"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"6702bb486912"
x-php-ob-level
"0"
x-real-ip
"89.249.73.41"

Request Content

Raw

form[email]=emmajunse664948%40gmail.com&form[object]=&form[message]=Let%27s+make+this+a+night+to+remember+++-+++https%3A%2F%2FnMm5id.short.gy%2FOsi49c%3FAchiele&submit=

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 24 Jan 2026 14:08:55 GMT"
x-debug-exception
"HTTP%2F2%20401%20%20returned%20for%20%22https%3A%2F%2Fapi.brevo.com%2Fv3%2Fsmtp%2Femail%22."
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fsymfony%2Fhttp-client%2FResponse%2FCommonResponseTrait.php:170"
x-debug-token
"56fb25"
x-debug-token-link
"http://etiennewalch.fr/_profiler/1b8dec"
x-previous-debug-token
"1b8dec"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
(no data)

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"a8a76e131fb4c8b502908b19d59dcf72"
BREVO_API_KEY
"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"
CONTENT_LENGTH
"168"
CONTENT_TYPE
"application/x-www-form-urlencoded"
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/var/www"
HOSTNAME
"9bda350d3e37"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_CONTENT_LENGTH
"168"
HTTP_CONTENT_TYPE
"application/x-www-form-urlencoded"
HTTP_HOST
"etiennewalch.fr"
HTTP_PRAGMA
"no-cache"
HTTP_REFERER
"https://etiennewalch.fr/"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36 Herring/95.1.8810.11"
HTTP_X_FORWARDED_FOR
"89.249.73.41"
HTTP_X_FORWARDED_HOST
"etiennewalch.fr"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"6702bb486912"
HTTP_X_REAL_IP
"89.249.73.41"
LC_CTYPE
"C.UTF-8"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.23.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"81c5ae6ba44e262a076349ee54a2e468638a4571085d80bff37f6fd308e1d8d5"
PHP_URL
"https://www.php.net/distributions/php-8.2.23.tar.xz"
PHP_VERSION
"8.2.23"
PWD
"/var/www/html"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.31.0.2"
REMOTE_PORT
"57156"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1769263735
REQUEST_TIME_FLOAT
1769263735.6197
REQUEST_URI
"/"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.31.0.8"
SERVER_NAME
"localhost"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SHELL_VERBOSITY
"0"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpm"
SUPERVISOR_SERVER_URL
"unix:///var/run/supervisor.sock"
USER
"www-data"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = 1b8dec)

Key Value
_controller
"error_controller"
_stopwatch_token
"f50fb4"
exception
Symfony\Component\HttpClient\Exception\ClientException {#451
  #message: "HTTP/2 401  returned for "https://api.brevo.com/v3/smtp/email"."
  #code: 401
  #file: "/var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php"
  #line: 170
  -response: Symfony\Component\HttpClient\Response\CurlResponse {#439 …}
  trace: {
    /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php:170 {
      Symfony\Component\HttpClient\Response\CurlResponse->checkStatusCode(): void …
      › if (400 <= $code) {    throw new ClientException($this);}
    }
    /var/www/html/vendor/symfony/http-client/Response/TransportResponseTrait.php:131 {
      Symfony\Component\HttpClient\Response\CurlResponse->doDestruct(): void …
      ›     self::initialize($this);    $this->checkStatusCode();}
    }
    /var/www/html/vendor/symfony/http-client/Response/CurlResponse.php:242 {
      Symfony\Component\HttpClient\Response\CurlResponse->__destruct() …
      › 
      ›     $this->doDestruct();} finally {
    }
    /var/www/html/vendor/symfony/http-client/Response/TraceableResponse.php:61 {
      Symfony\Component\HttpClient\Response\TraceableResponse->__destruct() …
      › if (method_exists($this->response, '__destruct')) {    $this->response->__destruct();}
    }
    /var/www/html/vendor/symfony/http-client/TraceableHttpClient.php:66 {
      Symfony\Component\HttpClient\TraceableHttpClient->request(string $method, string $url, array $options = []): ResponseInterface …
      › 
      ›     return new TraceableResponse($this->client, $this->client->request($method, $url, $options), $content, $this->stopwatch?->start("$method $url", 'http_client'));}
    }
    /var/www/html/src/Service/BrevoMailer.php:31 {
      App\Service\BrevoMailer->sendMail(Form $form): void …
      › 
      › $this->httpClient->request(    'POST',
      arguments: {
        $method: "POST"
        $url: "https://api.brevo.com/v3/smtp/email"
        $options: [ …3]
      }
    }
    /var/www/html/src/Controller/HomeController.php:48 {
      App\Controller\HomeController->index(Request $request, BrevoMailer $brevoMailer): Response …
      › if ($form->isSubmitted() && $form->isValid()) {    $brevoMailer->sendMail($form);    $this->addFlash('success', "Votre message a été envoyé avec succès !");
      arguments: {
        $form: Symfony\Component\Form\Form {#399 …}
      }
    }
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:178 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $brevoMailer: App\Service\BrevoMailer {#310 …}
      }
    }
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
      }
    }
    /var/www/html/vendor/symfony/http-kernel/Kernel.php:185 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /var/www/html/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Component\HttpKernel\Log\Logger {#22
  -minLevelIndex: 4
  -formatter: Symfony\Component\HttpKernel\Log\Logger::format(string $level, string $message, array $context, bool $prefixDate = true): string {#75 …}
  -debug: true
  -logs: [
    2 => [
      [
        "channel" => null
        "context" => [
          "exception" => Symfony\Component\HttpClient\Exception\ClientException {#451
            #message: "HTTP/2 401  returned for "https://api.brevo.com/v3/smtp/email"."
            #code: 401
            #file: "/var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php"
            #line: 170
            -response: Symfony\Component\HttpClient\Response\CurlResponse {#439 …}
            trace: {
              /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php:170 {
                Symfony\Component\HttpClient\Response\CurlResponse->checkStatusCode(): void …
                › if (400 <= $code) {    throw new ClientException($this);}
              }
              /var/www/html/vendor/symfony/http-client/Response/TransportResponseTrait.php:131 {
                Symfony\Component\HttpClient\Response\CurlResponse->doDestruct(): void …
                ›     self::initialize($this);    $this->checkStatusCode();}
              }
              /var/www/html/vendor/symfony/http-client/Response/CurlResponse.php:242 {
                Symfony\Component\HttpClient\Response\CurlResponse->__destruct() …
                › 
                ›     $this->doDestruct();} finally {
              }
              /var/www/html/vendor/symfony/http-client/Response/TraceableResponse.php:61 {
                Symfony\Component\HttpClient\Response\TraceableResponse->__destruct() …
                › if (method_exists($this->response, '__destruct')) {    $this->response->__destruct();}
              }
              /var/www/html/vendor/symfony/http-client/TraceableHttpClient.php:66 {
                Symfony\Component\HttpClient\TraceableHttpClient->request(string $method, string $url, array $options = []): ResponseInterface …
                › 
                ›     return new TraceableResponse($this->client, $this->client->request($method, $url, $options), $content, $this->stopwatch?->start("$method $url", 'http_client'));}
              }
              /var/www/html/src/Service/BrevoMailer.php:31 {
                App\Service\BrevoMailer->sendMail(Form $form): void …
                › 
                › $this->httpClient->request(    'POST',
                arguments: {
                  $method: "POST"
                  $url: "https://api.brevo.com/v3/smtp/email"
                  $options: [ …3]
                }
              }
              /var/www/html/src/Controller/HomeController.php:48 {
                App\Controller\HomeController->index(Request $request, BrevoMailer $brevoMailer): Response …
                › if ($form->isSubmitted() && $form->isValid()) {    $brevoMailer->sendMail($form);    $this->addFlash('success', "Votre message a été envoyé avec succès !");
                arguments: {
                  $form: Symfony\Component\Form\Form {#399 …}
                }
              }
              /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:178 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
                › // call controller$response = $controller(...$arguments);arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                  $brevoMailer: App\Service\BrevoMailer {#310 …}
                }
              }
              /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                  $type: 1
                }
              }
              /var/www/html/vendor/symfony/http-kernel/Kernel.php:185 {
                Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                  $type: 1
                  $catch: true
                }
              }
              /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                }
              }
              /var/www/html/vendor/autoload_runtime.php:29 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/www/html/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/www/html/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "message" => "Uncaught PHP Exception Symfony\Component\HttpClient\Exception\ClientException: "HTTP/2 401  returned for "https://api.brevo.com/v3/smtp/email"." at CommonResponseTrait.php line 170"
        "priority" => 500
        "priorityName" => "critical"
        "timestamp" => 1769263735
        "timestamp_rfc3339" => "2026-01-24T14:08:55.000+00:00"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -handle: null
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#80 …}
}