Error 401 Unauthorized

POST https://staging.aemstore.nl/api/oauth/token

Exceptions

Client authentication failed

Exception

League\OAuth2\Server\Exception\ OAuthServerException

Show exception properties
League\OAuth2\Server\Exception\OAuthServerException {#1856
  -payload: array:2 [
    "error" => "invalid_client"
    "error_description" => "Client authentication failed"
  ]
  -serverRequest: Nyholm\Psr7\ServerRequest {#1853
    -attributes: array:8 [
      "_stopwatch_token" => "ee9bc9"
      "_route" => "api.oauth.token"
      "_routeScope" => array:1 [
        0 => "api"
      ]
      "auth_required" => false
      "_controller" => "Shopware\Core\Framework\Api\Controller\AuthController::token"
      "_route_params" => array:1 [
        "auth_required" => false
      ]
      "_cspNonce" => "7oTlAwWO5nQ="
      "sw-context" => Shopware\Core\Framework\Context {#1809
        #extensions: []
        #scope: "system"
        #rulesLocked: false
        #source: Shopware\Core\Framework\Api\Context\SystemSource {#1810
          +type: "system"
        }
        #ruleIds: []
        #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
        #languageIdChain: array:1 [
          0 => "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
        ]
        #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
        #currencyFactor: 1.0
        #considerInheritance: false
        #taxState: "gross"
        #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1518
          #extensions: []
          #decimals: 2
          #interval: 0.01
          #roundForNet: true
        }
        #states: []
      }
    ]
    -cookieParams: []
    -parsedBody: array:3 [
      "grant_type" => "client_credentials"
      "client_id" => "SWIADKTYQ1BMETDPNTRMWMUXUA"
      "client_secret" => "bDJmQzZ4VXl5WDNyZEU4dElHNU5MbmRsZW1nRmVzcFhjcFZXQ2s"
    ]
    -queryParams: []
    -serverParams: array:80 [
      "USER" => "app"
      "HOME" => "/data/web"
      "HTTP_CF_VISITOR" => "{"scheme":"https"}"
      "HTTP_CF_IPCOUNTRY" => "DE"
      "HTTP_CF_CONNECTING_IP" => "185.137.156.40"
      "HTTP_CDN_LOOP" => "cloudflare; loops=1"
      "HTTP_CONTENT_TYPE" => "application/json"
      "HTTP_CONTENT_LENGTH" => "146"
      "HTTP_SEC_FETCH_MODE" => "cors"
      "HTTP_CF_RAY" => "a0e48e34ae2a8c3e-FRA"
      "HTTP_USER_AGENT" => "node"
      "HTTP_ACCEPT_ENCODING" => "gzip, br"
      "HTTP_ACCEPT_LANGUAGE" => "*"
      "HTTP_ACCEPT" => "*/*"
      "HTTP_HOST" => "staging.aemstore.nl"
      "HANDLER" => "phpfpm"
      "HTTP_AUTHORIZATION" => ""
      "REDIRECT_STATUS" => "200"
      "HTTPS" => "on"
      "SERVER_NAME" => "staging.aemstore.nl"
      "PHP_VALUE" => "session.save_path=/data/var/php-sessions"
      "GEOIP_LONGITUDE" => ""
      "GEOIP_LATITUDE" => ""
      "GEOIP_CITY_CONTINENT_CODE" => ""
      "GEOIP_POSTAL_CODE" => ""
      "GEOIP_CITY" => ""
      "GEOIP_REGION" => ""
      "GEOIP_CITY_COUNTRY_NAME" => ""
      "GEOIP_CITY_COUNTRY_CODE3" => ""
      "GEOIP_CITY_COUNTRY_CODE" => ""
      "GEOIP_COUNTRY_NAME" => "Germany"
      "GEOIP_COUNTRY_CODE3" => "DEU"
      "GEOIP_COUNTRY_CODE" => "DE"
      "SERVER_PORT" => "443"
      "SERVER_ADDR" => "185.111.199.88"
      "REMOTE_PORT" => ""
      "REMOTE_ADDR" => "127.0.0.1"
      "SERVER_SOFTWARE" => "nginx/1.22.1"
      "GATEWAY_INTERFACE" => "CGI/1.1"
      "SERVER_PROTOCOL" => "HTTP/2.0"
      "DOCUMENT_ROOT" => "/data/web/deployment/staging/releases/383d618f_10592/public"
      "DOCUMENT_URI" => "/index.php"
      "REQUEST_URI" => "/api/oauth/token"
      "SCRIPT_NAME" => "/index.php"
      "SCRIPT_FILENAME" => "/data/web/deployment/staging/releases/383d618f_10592/public/index.php"
      "CONTENT_LENGTH" => "146"
      "CONTENT_TYPE" => "application/json"
      "REQUEST_METHOD" => "POST"
      "QUERY_STRING" => ""
      "FCGI_ROLE" => "RESPONDER"
      "PHP_SELF" => "/index.php"
      "REQUEST_TIME_FLOAT" => 1781893307.6746
      "REQUEST_TIME" => 1781893307
      "APP_RUNTIME_OPTIONS" => array:1 [
        "project_dir" => "/data/web/deployment/staging/releases/383d618f_10592"
      ]
      "APP_RUNTIME" => "Symfony\Component\Runtime\SymfonyRuntime"
      "APP_PROJECT_DIR" => "/data/web/deployment/staging/releases/383d618f_10592"
      "SYMFONY_DOTENV_PATH" => "/data/web/deployment/staging/releases/383d618f_10592/.env"
      "OPENSEARCH_URL" => "http://localhost:9200"
      "SHOPWARE_ES_HOSTS" => "http://localhost:9200"
      "SHOPWARE_ES_ENABLED" => "0"
      "SHOPWARE_ES_INDEXING_ENABLED" => "0"
      "SHOPWARE_ES_INDEX_PREFIX" => "sw"
      "SHOPWARE_ES_THROW_EXCEPTION" => "1"
      "SHOPWARE_SKIP_BUNDLE_DUMP" => "1"
      "SHOPWARE_HTTP_CACHE_ENABLED" => "1"
      "SHOPWARE_HTTP_DEFAULT_TTL" => "86400"
      "SHOPWARE_CDN_STRATEGY_DEFAULT" => "id"
      "BLUE_GREEN_DEPLOYMENT" => "1"
      "MAILER_URL" => "null://localhost"
      "APP_ENV" => "dev"
      "APP_URL" => "https://aemstore.millerpreview.nl"
      "APP_SECRET" => "def00000b75dae9efea4aa4d722fc47813041b740c28082f80fd8085519161fe02643cd03fc6e1c87c1adc39b7ba6886b2133310a52b81a7319507ad6317f78054043b2a"
      "INSTANCE_ID" => "DxkTPgf73rOyJLF1XmKlUpgJmwbfw8nC"
      "LOCK_DSN" => "flock"
      "DATABASE_URL" => "mysql://app:sE1LVUVniqiImQmt0DqaHIcj4hhcRA60@localhost:3306/p_aem_staging"
      "SYMFONY_DOTENV_VARS" => "OPENSEARCH_URL,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,SHOPWARE_SKIP_BUNDLE_DUMP,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT,BLUE_GREEN_DEPLOYMENT,MAILER_URL,APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,LOCK_DSN,DATABASE_URL,REDIS_URL"
      "REDIS_URL" => "redis://@127.0.0.1:6379/1"
      "APP_DEBUG" => "1"
      "HTTP_FORWARDED" => "for="185.137.156.40";host="staging.aemstore.nl";proto=https"
      "HTTP_X_FORWARDED_FOR" => "185.137.156.40"
    ]
    -uploadedFiles: []
    -headers: array:18 [
      "cf-visitor" => array:1 [
        0 => "{"scheme":"https"}"
      ]
      "cf-ipcountry" => array:1 [
        0 => "DE"
      ]
      "cf-connecting-ip" => array:1 [
        0 => "185.137.156.40"
      ]
      "cdn-loop" => array:1 [
        0 => "cloudflare; loops=1"
      ]
      "content-type" => array:1 [
        0 => "application/json"
      ]
      "content-length" => array:1 [
        0 => "146"
      ]
      "sec-fetch-mode" => array:1 [
        0 => "cors"
      ]
      "cf-ray" => array:1 [
        0 => "a0e48e34ae2a8c3e-FRA"
      ]
      "user-agent" => array:1 [
        0 => "node"
      ]
      "accept-encoding" => array:1 [
        0 => "gzip, br"
      ]
      "accept-language" => array:1 [
        0 => "*"
      ]
      "accept" => array:1 [
        0 => "*/*"
      ]
      "host" => array:1 [
        0 => "staging.aemstore.nl"
      ]
      "authorization" => array:1 [
        0 => ""
      ]
      "surrogate-capability" => array:1 [
        0 => "symfony="ESI/1.0""
      ]
      "forwarded" => array:1 [
        0 => "for="185.137.156.40";host="staging.aemstore.nl";proto=https"
      ]
      "x-forwarded-for" => array:1 [
        0 => "185.137.156.40"
      ]
      "x-php-ob-level" => array:1 [
        0 => "1"
      ]
    ]
    -headerNames: array:18 [
      "host" => "host"
      "cf-visitor" => "cf-visitor"
      "cf-ipcountry" => "cf-ipcountry"
      "cf-connecting-ip" => "cf-connecting-ip"
      "cdn-loop" => "cdn-loop"
      "content-type" => "content-type"
      "content-length" => "content-length"
      "sec-fetch-mode" => "sec-fetch-mode"
      "cf-ray" => "cf-ray"
      "user-agent" => "user-agent"
      "accept-encoding" => "accept-encoding"
      "accept-language" => "accept-language"
      "accept" => "accept"
      "authorization" => "authorization"
      "surrogate-capability" => "surrogate-capability"
      "forwarded" => "forwarded"
      "x-forwarded-for" => "x-forwarded-for"
      "x-php-ob-level" => "x-php-ob-level"
    ]
    -protocol: "1.1"
    -stream: Nyholm\Psr7\Stream {#1877
      -stream: stream resource @1295
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -seekable: true
      -readable: true
      -writable: true
      -uri: null
      -size: null
    }
    -method: "POST"
    -requestTarget: null
    -uri: Nyholm\Psr7\Uri {#1890
      -scheme: "https"
      -userInfo: ""
      -host: "staging.aemstore.nl"
      -port: null
      -path: "/api/oauth/token"
      -query: ""
      -fragment: ""
    }
  }
  -errorType: "invalid_client"
  -httpStatusCode: 401
  -hint: null
  -redirectUri: null
}
  1. /**
  2. * Invalid client error.
  3. */
  4. public static function invalidClient(ServerRequestInterface $serverRequest): static
  5. {
  6. $exception = new static('Client authentication failed', 4, 'invalid_client', 401);
  7. $exception->setServerRequest($serverRequest);
  8. return $exception;
  9. }
  1. {
  2. $client = $this->clientRepository->getClientEntity($clientId);
  3. if ($client instanceof ClientEntityInterface === false) {
  4. $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
  5. throw OAuthServerException::invalidClient($request);
  6. }
  7. if ($this->supportsGrantType($client, $this->getIdentifier()) === false) {
  8. throw OAuthServerException::unauthorizedClient();
  9. }
in vendor/league/oauth2-server/src/Grant/AbstractGrant.php -> getClientEntityOrFail (line 154)
  1. */
  2. protected function validateClient(ServerRequestInterface $request): ClientEntityInterface
  3. {
  4. [$clientId, $clientSecret] = $this->getClientCredentials($request);
  5. $client = $this->getClientEntityOrFail($clientId, $request);
  6. if ($client->isConfidential()) {
  7. if ($clientSecret === '') {
  8. throw OAuthServerException::invalidRequest('client_secret');
  9. }
  1. public function respondToAccessTokenRequest(
  2. ServerRequestInterface $request,
  3. ResponseTypeInterface $responseType,
  4. DateInterval $accessTokenTTL
  5. ): ResponseTypeInterface {
  6. $client = $this->validateClient($request);
  7. if (!$client->isConfidential()) {
  8. $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
  9. throw OAuthServerException::invalidClient($request);
in vendor/league/oauth2-server/src/AuthorizationServer.php -> respondToAccessTokenRequest (line 176)
  1. foreach ($this->enabledGrantTypes as $grantType) {
  2. if (!$grantType->canRespondToAccessTokenRequest($request)) {
  3. continue;
  4. }
  5. $tokenResponse = $grantType->respondToAccessTokenRequest(
  6. $request,
  7. $this->getResponseType(),
  8. $this->grantTypeAccessTokenTTL[$grantType->getIdentifier()]
  9. );
in vendor/shopware/core/Framework/Api/Controller/AuthController.php -> respondToAccessTokenRequest (line 53)
  1. }
  2. $psr7Request = $this->psrHttpFactory->createRequest($request);
  3. $psr7Response = $this->psrHttpFactory->createResponse($response);
  4. $response = $this->authorizationServer->respondToAccessTokenRequest($psr7Request, $psr7Response);
  5. $this->rateLimiter->reset(RateLimiter::OAUTH, $combinedKey);
  6. $this->rateLimiter->resetIfConfigured(RateLimiter::OAUTH_USER, $usernameKey);
  7. $this->rateLimiter->resetIfConfigured(RateLimiter::OAUTH_CLIENT, $clientIpKey);
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. $this->dispatcher->dispatch($event);
  2. return $event->getResponse();
  3. }
  4. return parent::handle($request, $type, $catch);
  5. }
  6. }
  1. if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
  2. Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3. }
  4. try {
  5. return $kernel->handle($request, $type, $catch);
  6. } finally {
  7. // restore global state
  8. Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
  9. }
  10. }
  1. protected function forward(Request $request, bool $catch = false, ?Response $entry = null): Response
  2. {
  3. $this->surrogate?->addSurrogateCapability($request);
  4. // always a "master" request (as the real master request can be in cache)
  5. $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
  6. $this->forwardedRequest = $request;
  7. /*
  8. * Support stale-if-error given on Responses or as a config option.
  9. * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  1. */
  2. protected function pass(Request $request, bool $catch = false): Response
  3. {
  4. $this->record($request, 'pass');
  5. return $this->forward($request, $catch);
  6. }
  7. /**
  8. * Invalidates non-safe methods (like POST, PUT, and DELETE).
  9. *
  1. *
  2. * @see RFC2616 13.10
  3. */
  4. protected function invalidate(Request $request, bool $catch = false): Response
  5. {
  6. $response = $this->pass($request, $catch);
  7. // invalidate only when the response is successful
  8. if ($response->isSuccessful() || $response->isRedirect()) {
  9. try {
  10. $this->store->invalidate($request);
  1. }
  2. $this->traces[$this->getTraceKey($request)] = [];
  3. if (!$request->isMethodSafe()) {
  4. $response = $this->invalidate($request, $catch);
  5. } elseif ($request->headers->has('expect') || !$request->isMethodCacheable()) {
  6. $response = $this->pass($request, $catch);
  7. } elseif ($this->options['allow_reload'] && $request->isNoCache()) {
  8. /*
  9. If allow_reload is configured and the client requests "Cache-Control: no-cache",
  1. // only handle main request inside http cache, because ESI tags are also interpreted as main request.
  2. // sub requests are requests, which are forwarded to the kernel inside the php stack
  3. // https://github.com/symfony/symfony/issues/51648#issuecomment-1717846894
  4. if ($type === HttpKernelInterface::MAIN_REQUEST) {
  5. $response = parent::handle($request, $type, $catch);
  6. } elseif ($request->attributes->has('_sw_esi')) {
  7. $response = parent::handle($request, $type, $catch);
  8. } else {
  9. $response = $this->getKernel()->handle($request, $type, $catch);
  10. }
in vendor/shopware/core/Kernel.php -> handle (line 129)
  1. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
  2. {
  3. $this->boot();
  4. return $this->getHttpKernel()->handle($request, $type, $catch);
  5. }
  6. public function boot(): void
  7. {
  8. if (!$this->booted) {
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/data/web/deployment/staging/releases/383d618f_10592/vendor/autoload_runtime.php') in public/index.php (line 10)
  1. use Shopware\Core\Installer\InstallerKernel;
  2. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ . '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) {
  6. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

Logs

Level Channel Message
INFO 18:24:46 php User Deprecated: Since symfony/var-exporter 7.3: The "Symfony\Component\VarExporter\LazyGhostTrait" trait is deprecated, use native lazy objects instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: The "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository" class uses "Symfony\Component\VarExporter\LazyGhostTrait" that is deprecated since Symfony 7.3, use native lazy objects instead.
{
    "exception": {}
}
DEBUG 18:24:46 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Framework\Adapter\Cache\CacheTagCollector::__invoke".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTagCollector::__invoke"
}
DEBUG 18:24:46 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Profiling\Subscriber\CacheTagCollectorSubscriber::add".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Profiling\\Subscriber\\CacheTagCollectorSubscriber::add"
}
INFO 18:24:46 cache Lock acquired, now computing item "system-config-"
{
    "key": "system-config-"
}
INFO 18:24:46 php User Deprecated: The "Shopware\Core\Framework\DataAbstractionLayer\Search\EntityAggregatorInterface" interface is considered internal. It may change without further notice. You should not use it from "Swag\Security\Fixes\GHSAm8952hj38cg9\EntityAggregatorDecorator".
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "Kiener\MolliePayments\Subscriber\WebhookTimezoneSubscriber" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "H1web\StatisticalCookies\Storefront\Subscriber\SetAnalyticsCookie" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:24:46 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://aemstore.millerpreview.nl/_profiler/latest?ip=216.73.217.140&type=request",
    "method": "GET"
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
DEBUG 18:24:46 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Framework\Adapter\Cache\CacheTagCollector::__invoke".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTagCollector::__invoke"
}
DEBUG 18:24:46 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Profiling\Subscriber\CacheTagCollectorSubscriber::add".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Profiling\\Subscriber\\CacheTagCollectorSubscriber::add"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\JsonRequestTransformerListener::onRequest".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\JsonRequestTransformerListener::onRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\ApiAuthenticationListener::setupOAuth".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\ApiAuthenticationListener::setupOAuth"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::startSession".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::startSession"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Kiener\MolliePayments\Subscriber\WebhookTimezoneSubscriber::fixWebhookTimezone".
{
    "event": "kernel.request",
    "listener": "Kiener\\MolliePayments\\Subscriber\\WebhookTimezoneSubscriber::fixWebhookTimezone"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\RouteParamsCleanupListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteParamsCleanupListener::__invoke"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Twig\TwigDateRequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Twig\\TwigDateRequestListener::__invoke"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\CoreSubscriber::initializeCspNonce".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\CoreSubscriber::initializeCspNonce"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::maintenanceResolver".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::maintenanceResolver"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Storefront\Theme\Twig\ThemeNamespaceHierarchyBuilder::requestEvent".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Theme\\Twig\\ThemeNamespaceHierarchyBuilder::requestEvent"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "H1web\StatisticalCookies\Storefront\Subscriber\SetAnalyticsCookie::setCookie".
{
    "event": "kernel.request",
    "listener": "H1web\\StatisticalCookies\\Storefront\\Subscriber\\SetAnalyticsCookie::setCookie"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "MoorlFoundation\Core\Service\EntityAutoCacheService::onRequest".
{
    "event": "kernel.request",
    "listener": "MoorlFoundation\\Core\\Service\\EntityAutoCacheService::onRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "MoorlFoundation\Core\Subscriber\KernelEventSubscriber::onRequest".
{
    "event": "kernel.request",
    "listener": "MoorlFoundation\\Core\\Subscriber\\KernelEventSubscriber::onRequest"
}
DEBUG 18:24:46 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\RouteEventSubscriber::request".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteEventSubscriber::request"
}
INFO 18:24:46 php User Deprecated: Method "Twig\Extension\ExtensionInterface::getFilters()" might add "array" as a native return type declaration in the future. Do the same in implementation "MoorlFoundation\Core\Framework\Twig\ListingExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Kiener\MolliePayments\Subscriber\PendingOrderRedirectSubscriber::onController".
{
    "event": "kernel.controller",
    "listener": "Kiener\\MolliePayments\\Subscriber\\PendingOrderRedirectSubscriber::onController"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Kiener\MolliePayments\Subscriber\KernelSubscriber::onModifyRouteScope".
{
    "event": "kernel.controller",
    "listener": "Kiener\\MolliePayments\\Subscriber\\KernelSubscriber::onModifyRouteScope"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Sendcloud\Shipping\Subscriber\OrderSubscriber::saveDataForDelete".
{
    "event": "kernel.controller",
    "listener": "Sendcloud\\Shipping\\Subscriber\\OrderSubscriber::saveDataForDelete"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Sendcloud\Shipping\Subscriber\CheckoutSubscriber::setRemoveServicePointFlag".
{
    "event": "kernel.controller",
    "listener": "Sendcloud\\Shipping\\Subscriber\\CheckoutSubscriber::setRemoveServicePointFlag"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\SalesChannelAuthenticationListener::validateRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\SalesChannelAuthenticationListener::validateRequest"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\ApiAuthenticationListener::validateRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\ApiAuthenticationListener::validateRequest"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\ContextResolverListener::resolveContext"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\RouteEventSubscriber::controller".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteEventSubscriber::controller"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\RouteScopeListener::checkScope".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteScopeListener::checkScope"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\Acl\AclAnnotationValidator::validate".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\Acl\\AclAnnotationValidator::validate"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::preventPageLoadingFromXmlHttpRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::preventPageLoadingFromXmlHttpRequest"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\Captcha\CaptchaRouteListener::validateCaptcha".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\Captcha\\CaptchaRouteListener::validateCaptcha"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Adapter\Cache\CacheStateSubscriber::setStates".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheStateSubscriber::setStates"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\ExpectationSubscriber::checkExpectations".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\ExpectationSubscriber::checkExpectations"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Core\Content\ProductExport\Tracking\SalesChannelTrackingListener::storeReferralCode".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Content\\ProductExport\\Tracking\\SalesChannelTrackingListener::storeReferralCode"
}
DEBUG 18:24:46 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\AffiliateTracking\AffiliateTrackingListener::checkAffiliateTracking".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\AffiliateTracking\\AffiliateTrackingListener::checkAffiliateTracking"
}
DEBUG 18:24:46 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\IsSignatureValidAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\IsSignatureValidAttributeListener::onKernelControllerArguments"
}
DEBUG 18:24:46 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 18:24:46 event Notified event "kernel.controller_arguments" to listener "BstCatalogMode6\Storefront\Subscriber\Frontend::onControllerEvent".
{
    "event": "kernel.controller_arguments",
    "listener": "BstCatalogMode6\\Storefront\\Subscriber\\Frontend::onControllerEvent"
}
DEBUG 18:24:46 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}
DEBUG 18:24:46 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "Kiener\MolliePayments\Subscriber\PaypalExpressSubscriber" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}
INFO 18:24:46 php User Deprecated: Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
{
    "exception": {}
}

Stack Trace

OAuthServerException
League\OAuth2\Server\Exception\OAuthServerException:
Client authentication failed

  at vendor/league/oauth2-server/src/Exception/OAuthServerException.php:105
  at League\OAuth2\Server\Exception\OAuthServerException::invalidClient()
     (vendor/league/oauth2-server/src/Grant/AbstractGrant.php:189)
  at League\OAuth2\Server\Grant\AbstractGrant->getClientEntityOrFail()
     (vendor/league/oauth2-server/src/Grant/AbstractGrant.php:154)
  at League\OAuth2\Server\Grant\AbstractGrant->validateClient()
     (vendor/league/oauth2-server/src/Grant/ClientCredentialsGrant.php:37)
  at League\OAuth2\Server\Grant\ClientCredentialsGrant->respondToAccessTokenRequest()
     (vendor/league/oauth2-server/src/AuthorizationServer.php:176)
  at League\OAuth2\Server\AuthorizationServer->respondToAccessTokenRequest()
     (vendor/shopware/core/Framework/Api/Controller/AuthController.php:53)
  at Shopware\Core\Framework\Api\Controller\AuthController->token()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:72)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:476)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:278)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->pass()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:292)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:206)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php:61)
  at Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel->handle()
     (vendor/shopware/core/Kernel.php:129)
  at Shopware\Core\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/data/web/deployment/staging/releases/383d618f_10592/vendor/autoload_runtime.php')
     (public/index.php:10)