Error 401 Unauthorized

GET https://optipol-dev.easy2pdf.com/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation_name
"_api_/invoices/{id}/state_get"
_api_resource_class
"App\Entity\Invoice"
_controller
"api_platform.symfony.main_controller"
_firewall_context
"security.firewall.map.context.api"
_format
null
_route
"_api_/invoices/{id}/state_get"
_route_params
[
  "_stateless" => true
  "_api_resource_class" => "App\Entity\Invoice"
  "_api_operation_name" => "_api_/invoices/{id}/state_get"
  "_format" => null
  "id" => "1f1121a6-92f8-6a22-861f-a3ec2482e71d"
]
_stateless
true
id
"1f1121a6-92f8-6a22-861f-a3ec2482e71d"

Request Headers

Header Value
accept-encoding
"gzip, deflate"
authorization
"Bearer _CBkcCUMOH9K18DSw95K7kcRP5Dhy3kVdBwkwv7OlKrMBYyL3PGYt50fUlL0DGNKaLNqN54zaYdS9PgTcvsl-w"
connection
"close"
content-type
"application/json"
host
"optipol-dev.easy2pdf.com"
user-agent
"Zend\Http\Client"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"35.180.163.73"

Request Content

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

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Mon, 20 Apr 2026 11:03:04 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-token
"2dfd87"

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
APP_DEBUG
"0"
APP_ENV
"dev"
APP_HOST
"https://optipol-dev.easy2pdf.com/"
APP_SECRET
"d433fc1624eb19c30f367eabe706b31b"
APP_TZ
"Europe/Paris"
CORS_ALLOW_ORIGIN
"*"
DATABASE_URL
"postgresql://optipol_user:YmRRrZcnAtqQ82d@91.134.92.248/optipol_staging?serverVersion=16&charset=utf8"
MAILER_DSN
"smtp://localhost:1026"
MESSENGER_TRANSPORT_DSN
"sync://"
OVERLORD_URL
"https://www.easy-serveur29.com/overlord/api/updateMonitoringDatabase"

Defined as regular env variables

Key Value
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/easy2pdf.com/optipol-dev.easy2pdf.com/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/easy2pdf.com/optipol-dev.easy2pdf.com/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/easy2pdf.com"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_AUTHORIZATION
"Bearer _CBkcCUMOH9K18DSw95K7kcRP5Dhy3kVdBwkwv7OlKrMBYyL3PGYt50fUlL0DGNKaLNqN54zaYdS9PgTcvsl-w"
HTTP_CONNECTION
"close"
HTTP_HOST
"optipol-dev.easy2pdf.com"
HTTP_USER_AGENT
"Zend\Http\Client"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"35.180.163.73"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
PHP_SELF
"/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state"
QUERY_STRING
""
REMOTE_ADDR
"35.180.163.73"
REMOTE_PORT
"58192"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1776682984
REQUEST_TIME_FLOAT
1776682984.479
REQUEST_URI
"/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state"
SCRIPT_FILENAME
"/var/www/vhosts/easy2pdf.com/optipol-dev.easy2pdf.com/public/index.php"
SCRIPT_NAME
"/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state"
SCRIPT_URI
"https://optipol-dev.easy2pdf.com/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state"
SCRIPT_URL
"/api/invoices/1f1121a6-92f8-6a22-861f-a3ec2482e71d/state"
SERVER_ADDR
"91.134.92.248"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"optipol-dev.easy2pdf.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"optipol-dev.easy2pdf.com"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/easy2pdf.com/optipol-dev.easy2pdf.com/.env"
SYMFONY_DOTENV_VARS
"APP_DEBUG,APP_HOST,OVERLORD_URL,APP_SECRET,MAILER_DSN,DATABASE_URL,MESSENGER_TRANSPORT_DSN,CORS_ALLOW_ORIGIN,APP_ENV,APP_TZ"
UNIQUE_ID
"aeYH6MZY8XtACtSciAuNGwAAAMU"
USER
"optipol"
proxy-nokeepalive
"1"