Error 401 Unauthorized

GET https://www.dev.schlafgut.com/api/notification/message?limit=5

NotificationController :: fetchNotification

Request

GET Parameters

Key Value
limit
"5"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Administration\Controller\NotificationController::fetchNotification"
_cspNonce
"qWVYFhy8pKY="
_route
"api.notification.message"
_routeScope
[
  "api"
]
_route_params
[]
_stopwatch_token
"5f3e90"

Request Headers

Header Value
accept
"application/json"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en-US,en;q=0.9"
authorization
"Bearer false"
connection
"close"
cookie
"_ga=GA1.1.1575880114.1726485760; _pin_unauth=dWlkPVltSTBZVFF5WmpZdE1ETTNPQzAwWldGbExXRm1Zall0WmpJMU4yUXlZak5qTnpBdw; _pin_unauth=dWlkPVltSTBZVFF5WmpZdE1ETTNPQzAwWldGbExXRm1Zall0WmpJMU4yUXlZak5qTnpBdw; _fbp=fb.1.1726729950734.274624759327181871; timezone=Europe/Warsaw; google-ads-enabled=1; youtube-video=1; cookie-preference=1; _gcl_au=1.1.2014184511.1726485760.108880148.1731672402.1731672405; _uetsid=7696e0e0a58411efb7b1df3495c81af8; _uetvid=fc663100741d11ef861bf945c109c206; _ga_0WE170VYP7=GS1.1.1732182337.171.1.1732186244.59.0.1364000085; session-=v8ondp1v3tmv60nnc1l7ossosl"
host
"www.dev.schlafgut.com"
priority
"u=1, i"
referer
"https://www.dev.schlafgut.com/admin"
sec-ch-ua
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
shopware-admin-active-route
"sw.login.index.login"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
x-php-ob-level
"1"

Request Content

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

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Thu, 21 Nov 2024 12:37:20 GMT"
x-debug-token
"071a35"
x-frame-options
"deny"

Cookies

Request Cookies

Key Value
_fbp
"fb.1.1726729950734.274624759327181871"
_ga
"GA1.1.1575880114.1726485760"
_ga_0WE170VYP7
"GS1.1.1732182337.171.1.1732186244.59.0.1364000085"
_gcl_au
"1.1.2014184511.1726485760.108880148.1731672402.1731672405"
_pin_unauth
"dWlkPVltSTBZVFF5WmpZdE1ETTNPQzAwWldGbExXRm1Zall0WmpJMU4yUXlZak5qTnpBdw"
_uetsid
"7696e0e0a58411efb7b1df3495c81af8"
_uetvid
"fc663100741d11ef861bf945c109c206"
cookie-preference
"1"
google-ads-enabled
"1"
session-
"v8ondp1v3tmv60nnc1l7ossosl"
timezone
"Europe/Warsaw"
youtube-video
"1"

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_CLIENT_ID
"administration"
APP_ENV
"dev"
APP_PASSWORD
"D1dww!PwfN1G2S3I4!#"
APP_SECRET
"def00000f49cf6989153ff1b0a10dcce4a58b5a118341b5878831197e4922399b0d94644fa0d97fd8acb4adebe32582faf52afe30650322a0a2c2caeb683a36db95339d9"
APP_URL
"https://www.dev.schlafgut.com"
APP_USERNAME
"NGSIDEV"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/home/schcmjkg/dev/var/cache/composer"
DATABASE_URL
"mysql://schcmjkg:za1NgsiENCmyH@localhost:3307/usrdb_schcmjkg"
INSTANCE_ID
"MK2w08SCD7vRQ2icjwaIHtR4f2qPnMIv"
LOCK_DSN
"flock"
MAILER_URL
"native://default"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"elasticsearch:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_HTTP_CACHE_ENABLED
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
Authorization
"Bearer false"
CONTEXT_DOCUMENT_ROOT
"/usr/local/fastcgi-starter/"
CONTEXT_PREFIX
"/fastcgist/"
DOCUMENT_ROOT
"/home/schcmjkg/dev/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GROUP
"schcmjkg"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"1"
H2_STREAM_TAG
"2715002-7993-1"
HOME
"/home/schcmjkg"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9"
HTTP_AUTHORIZATION
"Bearer false"
HTTP_CONNECTION
"close"
HTTP_COOKIE
"_ga=GA1.1.1575880114.1726485760; _pin_unauth=dWlkPVltSTBZVFF5WmpZdE1ETTNPQzAwWldGbExXRm1Zall0WmpJMU4yUXlZak5qTnpBdw; _pin_unauth=dWlkPVltSTBZVFF5WmpZdE1ETTNPQzAwWldGbExXRm1Zall0WmpJMU4yUXlZak5qTnpBdw; _fbp=fb.1.1726729950734.274624759327181871; timezone=Europe/Warsaw; google-ads-enabled=1; youtube-video=1; cookie-preference=1; _gcl_au=1.1.2014184511.1726485760.108880148.1731672402.1731672405; _uetsid=7696e0e0a58411efb7b1df3495c81af8; _uetvid=fc663100741d11ef861bf945c109c206; _ga_0WE170VYP7=GS1.1.1732182337.171.1.1732186244.59.0.1364000085; session-=v8ondp1v3tmv60nnc1l7ossosl"
HTTP_HOST
"www.dev.schlafgut.com"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://www.dev.schlafgut.com/admin"
HTTP_SEC_CH_UA
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_SHOPWARE_ADMIN_ACTIVE_ROUTE
"sw.login.index.login"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/home/schcmjkg/dev/public/index.php"
ORIG_SCRIPT_FILENAME
"/usr/local/fastcgi-starter/php8.3"
ORIG_SCRIPT_NAME
"/fastcgist/php8.3"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_FCGI_MAX_REQUESTS
"0"
PHP_SELF
"/index.php"
QUERY_STRING
"limit=5"
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"1"
REDIRECT_H2_STREAM_TAG
"2715002-7993-1"
REDIRECT_HANDLER
"php-fastcgi8.3"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"limit=5"
REDIRECT_REDIRECT_H2PUSH
"off"
REDIRECT_REDIRECT_H2_PUSH
"off"
REDIRECT_REDIRECT_H2_PUSHED
""
REDIRECT_REDIRECT_H2_PUSHED_ON
""
REDIRECT_REDIRECT_H2_STREAM_ID
"1"
REDIRECT_REDIRECT_H2_STREAM_TAG
"2715002-7993-1"
REDIRECT_REDIRECT_HTTP2
"on"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_SSL_TLS_SNI
"www.dev.schlafgut.com"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www.dev.schlafgut.com"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/index.php"
REMOTE_ADDR
"80.80.165.226"
REMOTE_PORT
"50589"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732192639
REQUEST_TIME_FLOAT
1732192639.9792
REQUEST_URI
"/api/notification/message?limit=5"
SCRIPT_FILENAME
"/home/schcmjkg/dev/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"178.250.14.188"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"www.dev.schlafgut.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"www.dev.schlafgut.com"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,DATABASE_URL,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT,BLUE_GREEN_DEPLOYMENT,MAILER_URL,COMPOSER_HOME,APP_SECRET,INSTANCE_ID,LOCK_DSN,APP_CLIENT_ID,APP_USERNAME,APP_PASSWORD"
USER
"schcmjkg"