Vielen Dank erstmal für die Antwort.
gerade Versucht. Selbst mit Bearer Token kommt die gleiche Fehlermeldung.
Mein Bearer Token:
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6IjQ3MDQ1OWI0ZjUyNTQ0ZDMzYjA3ZDQ1NTQzNjE5ZmRiMzEzMzhjODQ5YjQwNzQ1OGVlOTAzNTMwODBjYmMxMTkxYTk2YzlmOWQ3ZDcxNTE4IiwiaWF0IjoiMTYyODQ5MDg3MS40MjE2NzciLCJuYmYiOiIxNjI4NDkwODcxLjQyMTY3OSIsImV4cCI6IjE2Mjg0OTE0NzEuNDIwMzUxIiwic3ViIjoiOGI3OGY5YzZkYTg4NDI2NGI3OTM5Y2M0MTNmNGU2NWQiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.e8SpFXMLJOdqTy6hc6SH2JT3OooAMu5o01L96YhaezWVSp2Fui8KqAfT5oJYgCiKryWK-XUF9Z_1rXihGMTSfwbI-bhnAdBSUQFqe_Lbaj4HFOhDvs6DKQq1WsiONVJHLOKnqSkJXNx8us2SVw2yckVHc–U0sJUZM06T6v2rWjCoa3gPB2BX97ddqR-4rYlVDJO2NFGqHhESPROkZbLYQs3cmFttQkF6nTQiLLg3XbeKaQ35c-qAdsMS9fE5fxZXw7x3ZVfnbEgnw_uCePI3K-5fTft_bFUuLglTtCWopY4vONTDZaE1b2i1uSBp4ck6kOBklmt3wpbeyjs6e8gxw
Hier mal die komplette Json Antwort :
{
"errors": [
{
"code": "0",
"status": "401",
"title": "Unauthorized",
"detail": "Header \"sw-access-key\" is required.",
"meta": {
"trace": [
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/event-dispatcher/Debug/WrappedListener.php",
"line": 117,
"function": "validateRequest",
"class": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\SalesChannelAuthenticationListener",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/event-dispatcher/EventDispatcher.php",
"line": 230,
"function": "__invoke",
"class": "Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/event-dispatcher/EventDispatcher.php",
"line": 59,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php",
"line": 91,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/Framework/Event/BusinessEventDispatcher.php",
"line": 46,
"function": "dispatch",
"class": "Shopware\\Core\\Framework\\Webhook\\WebhookDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php",
"line": 32,
"function": "dispatch",
"class": "Shopware\\Core\\Framework\\Event\\BusinessEventDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php",
"line": 151,
"function": "dispatch",
"class": "Shopware\\Core\\Framework\\Event\\NestedEventDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpKernel.php",
"line": 145,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpKernel.php",
"line": 79,
"function": "handleRaw",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/Kernel.php",
"line": 195,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php",
"line": 85,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\Kernel",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
"line": 477,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler",
"type": "::"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
"line": 267,
"function": "forward",
"class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
"line": 283,
"function": "pass",
"class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
"line": 211,
"function": "invalidate",
"class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/HttpKernel.php",
"line": 163,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/HttpKernel.php",
"line": 80,
"function": "doHandle",
"class": "Shopware\\Core\\HttpKernel",
"type": "->"
},
{
"file": "/var/www/clients/client1/web8/web/public/index.php",
"line": 77,
"function": "handle",
"class": "Shopware\\Core\\HttpKernel",
"type": "->"
}
],
"file": "/var/www/clients/client1/web8/web/vendor/shopware/core/Framework/Api/EventListener/Authentication/SalesChannelAuthenticationListener.php",
"line": 61
}
}
]
}