Error 401 Unauthorized

GET https://opusapi.test.lunchgate.ch/api/crm_organisations/5

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation
ApiPlatform\Metadata\Get {#633
  #parameters: null
  #shortName: "CrmOrganisation"
  #class: "App\Module\Crm\Domain\Model\CrmOrganisation"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: null
  #denormalizationContext: null
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: [
    "annotated_app_module_crm_domain_model_crm_organisation_api_platform_doctrine_orm_filter_order_filter"
    "annotated_app_module_crm_domain_model_crm_organisation_api_platform_doctrine_orm_filter_search_filter"
  ]
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: null
  #paginationClientItemsPerPage: true
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: null
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider"
  #processor: "api_platform.doctrine.orm.state.persist_processor"
  #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#631 …}
  #rules: null
  #policy: null
  #middleware: null
  #queryParameterValidationEnabled: null
  #strictQueryParameterValidation: null
  #hideHydraOperation: null
  #extraProperties: []
  #paginationViaCursor: null
  #read: null
  #deserialize: null
  #validate: null
  #write: null
  #serialize: null
  #priority: 0
  #name: "_api_/crm_organisations/{id}{._format}_get"
  #method: "GET"
  #uriTemplate: "/crm_organisations/{id}{._format}"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #uriVariables: [
    "id" => ApiPlatform\Metadata\Link {#629
      #key: null
      #schema: null
      #openApi: null
      #provider: null
      #filter: null
      #property: null
      #description: null
      #properties: null
      #required: null
      #priority: null
      #hydra: null
      #constraints: null
      #security: null
      #securityMessage: null
      #extraProperties: []
      #filterContext: null
      #nativeType: null
      #castToArray: null
      -parameterName: "id"
      -fromProperty: null
      -toProperty: null
      -fromClass: "App\Module\Crm\Domain\Model\CrmOrganisation"
      -toClass: null
      -identifiers: [
        "id"
      ]
      -compositeIdentifier: null
      -expandedValue: null
      -securityObjectName: null
    }
  ]
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: null
  #sunset: null
  #acceptPatch: "application/merge-patch+json"
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: null
  #headers: null
  #cacheHeaders: [
    "etag" => true
    "max_age" => 0
    "shared_max_age" => 3600
    "vary" => [
      "Content-Type"
      "Authorization"
      "Origin"
    ]
  ]
  #hydraContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
}
_api_operation_name
"_api_/crm_organisations/{id}{._format}_get"
_api_resource_class
"App\Module\Crm\Domain\Model\CrmOrganisation"
_controller
"api_platform.action.placeholder"
_firewall_context
"security.firewall.map.context.api"
_format
null
_route
"_api_/crm_organisations/{id}{._format}_get"
_route_params
[
  "_stateless" => null
  "_api_resource_class" => "App\Module\Crm\Domain\Model\CrmOrganisation"
  "_api_operation_name" => "_api_/crm_organisations/{id}{._format}_get"
  "_format" => null
  "id" => "5"
]
_security_authenticators
[]
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#721
    -supports: false
    -passport: null
    -duration: null
    -stub: "Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator {#679 …}
  }
]
_stateless
null
_stopwatch_token
"1e5ce9"
id
"5"
input_format
null

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip, deflate, br"
accept-language
"en-US,en;q=0.5"
host
"opusapi.test.lunchgate.ch"
sec-fetch-dest
"document"
sec-fetch-mode
"navigate"
sec-fetch-site
"none"
sec-fetch-user
"?1"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
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, 06 Aug 2025 18:55:35 GMT"
www-authenticate
"Bearer"
x-debug-token
"bef3e6"

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_ENV
"dev"
APP_SECRET
"3us8HCExORXj1edMDWKLoUnvWh2TKT5"
BEXIO_TOKEN
"eyJraWQiOiI2ZGM2YmJlOC1iMjZjLTExZTgtOGUwZC0wMjQyYWMxMTAwMDIiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJwZXRlci5ib3NjaHVuZyt0ZXN0MkBsdW5jaGdhdGUuY29tIiwibG9naW5faWQiOiJkNDYwZGU3MS04ODk1LTQ1Y2QtYmFiMi02MGJhMWY4ODFlMzgiLCJjb21wYW55X2lkIjoiOHp5aHN4bmQydmxmIiwidXNlcl9pZCI6MjY0OTkwLCJhenAiOiJldmVybGFzdC10b2tlbi1vZmZpY2UtY2xpZW50Iiwic2NvcGUiOiJvcGVuaWQgcHJvZm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JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
PINGEN_CLIENT_ID
"LG5ZLUH43M33Y1EXE7KB"
PINGEN_CLIENT_SECRET
"Zr3EU9yr/PLS/G3RywUa4DthH4pObxoP5bcmTX5F0+LmcdysisKpQbAgRI0OzkV/EBfA/fab4jK1QxZN"
PINGEN_IS_STAGING
"true"
PINGEN_ORGANISATION_ID
"a63c4b60-e6ab-4b12-80ae-a62b107553ab"
PINGEN_WEBHOOK_SECRET
"K5wU2div2Rxia92qUdf7Saxo"
POSTGRES_PASSWORD
"postgres"
POSTGRES_USER
"opus21"
PROJECT_ROOT
"./"
UID_WSDL
"https://www.uid-wse-a.admin.ch/V5.0/PublicServices.svc?wsdl"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/www-data/opusapi.test.lunchgate.ch"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/www-data/opusapi.test.lunchgate.ch"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"1"
H2_STREAM_TAG
"2645190-2-1"
HOME
"/home/www-data"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_HOST
"opusapi.test.lunchgate.ch"
HTTP_SEC_FETCH_DEST
"document"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_SEC_FETCH_SITE
"none"
HTTP_SEC_FETCH_USER
"?1"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"1"
REDIRECT_H2_STREAM_TAG
"2645190-2-1"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"opusapi.test.lunchgate.ch"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aJOlJzHLQBgXpmT56AGRWgAAQAE"
REDIRECT_URL
"/api/crm_organisations/5"
REMOTE_ADDR
"47.128.125.25"
REMOTE_PORT
"45972"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1754506535
REQUEST_TIME_FLOAT
1754506535.9786
REQUEST_URI
"/api/crm_organisations/5"
SCRIPT_FILENAME
"/home/www-data/opusapi.test.lunchgate.ch/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"5.148.183.52"
SERVER_ADMIN
"webmaster@opusapi.test.lunchgate.ch"
SERVER_NAME
"opusapi.test.lunchgate.ch"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"opusapi.test.lunchgate.ch"
SYMFONY_DOTENV_PATH
"/home/www-data/private/test/opus21/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,POSTGRES_PASSWORD,POSTGRES_USER,DB_NAME,DB_USERNAME,DB_PASSWORD,PROJECT_ROOT,PINGEN_CLIENT_ID,PINGEN_CLIENT_SECRET,PINGEN_ORGANISATION_ID,PINGEN_IS_STAGING,PINGEN_WEBHOOK_SECRET,UID_WSDL,BEXIO_TOKEN"
UNIQUE_ID
"aJOlJzHLQBgXpmT56AGRWgAAQAE"
USER
"www-data"
proxy-nokeepalive
"1"