Error 500 Internal Server Error

GET https://hellopec.cestnous.fr/api/ai/uploads/devi-bousf_1773135162_1773135551.pdf?token=355fb799d9a288108de29083c74529c5

AIController :: getFile

Request

GET Parameters

Key Value
token
"355fb799d9a288108de29083c74529c5"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\AIController::getFile"
_firewall_context
"security.firewall.map.context.api"
_route
"api_ai_uploads"
_route_params
[
  "name" => "devi-bousf_1773135162_1773135551.pdf"
]
_security_authenticators
[]
_security_skipped_authenticators
[
  Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator {#215
    -tokenExtractor: Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\ChainTokenExtractor {#216 …}
    -jwtManager: Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager {#207 …}
    -eventDispatcher: Symfony\Component\EventDispatcher\EventDispatcher {#64 …}
    -userProvider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#218 …}
    -translator: Symfony\Component\Translation\DataCollectorTranslator {#220 …}
  }
]
name
"devi-bousf_1773135162_1773135551.pdf"

Request Headers

Header Value
authorization
""
host
"hellopec.cestnous.fr"
traceparent
"00-49ff650f710ee0f658249bcbc2b49f69-dbafb73e97ae4993-00"
x-forwarded-for
"true"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Wed, 19 Aug 2026 22:07:57 GMT"
x-debug-token
"50acc7"
x-debug-token-link
"https://hellopec.cestnous.fr/_profiler/71f8cd"
x-previous-debug-token
"71f8cd"

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
AI_TOKEN
"355fb799d9a288108de29083c74529c5"
APP_DEBUG
"0"
APP_ENV
"dev"
APP_SECRET
"ab8c6e9234fc6df634f709c5ce345579"
DATABASE_URL
"mysql://hellopec:sQqh4Dhrpyq7UBR@mt153455-001.eu.clouddb.ovh.net:35859/hellopec?serverVersion=8.0.21"
DOMAIN
"https://hellopec.cestnous.fr"
GOOGLE_API_KEY
""
GOOGLE_CLIENT_ID
""
GOOGLE_CLIENT_SECRET
""
JWT_PASSPHRASE
"3e18555d4ab84f4bd3323355d5c30a87"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"gmail+smtp://pec@hellopec.fr:VEN5aou!!!@default?verify_peer=0"
MESSENGER_TRANSPORT_DSN
"doctrine://default"

Defined as regular env variables

Key Value
CONTEXT_DOCUMENT_ROOT
"/var/www/hellopec/website/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/hellopec/website/public/"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_AUTHORIZATION
""
HTTP_HOST
"hellopec.cestnous.fr"
HTTP_TRACEPARENT
"00-49ff650f710ee0f658249bcbc2b49f69-dbafb73e97ae4993-00"
HTTP_X_FORWARDED_FOR
"true"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"token=355fb799d9a288108de29083c74529c5"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_QUERY_STRING
"token=355fb799d9a288108de29083c74529c5"
REDIRECT_SSL_TLS_SNI
"hellopec.cestnous.fr"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/ai/uploads/devi-bousf_1773135162_1773135551.pdf"
REMOTE_ADDR
"20.111.2.153"
REMOTE_PORT
"5124"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1787177277
REQUEST_TIME_FLOAT
1787177277.384
REQUEST_URI
"/api/ai/uploads/devi-bousf_1773135162_1773135551.pdf?token=355fb799d9a288108de29083c74529c5"
SCRIPT_FILENAME
"/var/www/hellopec/website/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.77.215.211"
SERVER_ADMIN
"dev@cestnous.fr"
SERVER_NAME
"hellopec.cestnous.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at hellopec.cestnous.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"hellopec.cestnous.fr"
SYMFONY_DOTENV_PATH
"/var/www/hellopec/website/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,MAILER_DSN,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,GOOGLE_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,MESSENGER_TRANSPORT_DSN,AI_TOKEN,DOMAIN"

Sub Requests 1

CustomErrorController :: show (token = 71f8cd)

Key Value
_controller
"App\Controller\CustomErrorController::show"
exception
Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException {#554
  #message: "The file "/var/www/hellopec/website/public/uploads/devi-bousf_1773135162_1773135551.pdf" does not exist"
  #code: 0
  #file: "/var/www/hellopec/website/vendor/symfony/http-foundation/File/File.php"
  #line: 36
  trace: {
    /var/www/hellopec/website/vendor/symfony/http-foundation/File/File.php:36 {
      Symfony\Component\HttpFoundation\File\File->__construct(string $path, bool $checkPath = true) …
      › if ($checkPath && !is_file($path)) {    throw new FileNotFoundException($path);}
    }
    /var/www/hellopec/website/src/Controller/AIController.php:77 {
      App\Controller\AIController->getFile(string $name, Request $request, FileRepository $fileRepository): Response …
      › 
      › $file = new File($path);$mimeType = $file->getMimeType();
    }
    /var/www/hellopec/website/vendor/symfony/http-kernel/HttpKernel.php:183 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/hellopec/website/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) {
    }
    /var/www/hellopec/website/vendor/symfony/http-kernel/Kernel.php:193 {
      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 {
    }
    /var/www/hellopec/website/public/index.php:22 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
null