# OAuth Token from extension response keys are genrrtaing 401 error

**URL:** <https://forum.shopware.com/t/oauth-token-from-extension-response-keys-are-genrrtaing-401-error/100595>\
**Category:** Shopware 6 (English)\
**Created:** [21. Juli 2023 um 16:01 UTC](https://forum.shopware.com/t/oauth-token-from-extension-response-keys-are-genrrtaing-401-error/100595 "2023-07-21T16:01:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted.hettich](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@ted.hettich](https://forum.shopware.com/u/ted.hettich)\
**Post date:** [21. Juli 2023 um 16:01 UTC](https://forum.shopware.com/t/oauth-token-from-extension-response-keys-are-genrrtaing-401-error/100595/1 "2023-07-21T16:01:53Z")

</div>

I have referred to the following link for development.

> **[App Base Guide](https://developer.shopware.com/docs/guides/plugins/apps/app-base-guide)**

I have received the API key and API secret from the extension installation response but I am unable to generate the access token using them, but if I create an access key manually that key is generating the O Auth is there some step I am missing or settings I might have changed, because this use to work before. But now I am getting the following error.

[OAuth Generation Error](https://i.stack.imgur.com/RrJ4m.png)

Received Client Id and Client Secret using Extension install response.

But these using these credentials I am not able to generate the OAuth token.

API response :  
{  
„errors“: [  
{  
„code“: „4“,  
„status“: „401“,  
„title“: „Client authentication failed“,  
„detail“: null  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![michael.scholz](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@michael.scholz](https://forum.shopware.com/u/michael.scholz)\
**Post date:** [27. Juli 2023 um 12:54 UTC](https://forum.shopware.com/t/oauth-token-from-extension-response-keys-are-genrrtaing-401-error/100595/2 "2023-07-27T12:54:04Z")

</div>

Having the same problem since the update from 6.4 to 6.5

---

<div class="post-metadata">

**Author:** ![pcs](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pcs](https://forum.shopware.com/u/pcs)\
**Post date:** [2. Oktober 2023 um 19:18 UTC](https://forum.shopware.com/t/oauth-token-from-extension-response-keys-are-genrrtaing-401-error/100595/3 "2023-10-02T19:18:28Z")

</div>

You found a solution?
