# Mautic API oAuth "signature\_invalid"

**URL:** <https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397>\
**Category:** Product Support\
**Created:** [June 16, 2016, 11:13am UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397 "2016-06-16T11:13:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepak586625](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@deepak586625](https://forum.mautic.org/u/deepak586625)\
**Post date:** [June 16, 2016, 11:13am UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397/1 "2016-06-16T11:13:04Z")

</div>

Hi  
  
  
  
I am trying to push our live chat leads to mautic via rest api.  
  
But when i am trying oAuth1 authentication,i am getting “ **Incorrect access token parameters returned: Array** ” in the Apitester application.  
  
  
  
**In the mautic api logs, i see the below error:**  
  
mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: “signature\_invalid” at  
  
x/x/x/x/x/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 174 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature\_invalid at /x/x/x/x/x/x/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:174)  
  
  
  
I have verified that the keys are correct and created for oAuth authentuication.  
  
Also i have mentioned the same callback URL as the url where the apitester is hosted in both the places.  
  
  
  
Please advise.  
  
  
  
Thank you  
  
Deepak

---

<div class="post-metadata">

**Author:** ![livvy](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@livvy](https://forum.mautic.org/u/livvy)\
**Post date:** [June 20, 2016, 8:47pm UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397/2 "2016-06-20T20:47:23Z")

</div>

Pretty much the same error here too:

```auto
[2016-06-20 21:37:08] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: "signature_invalid" at .../public_html/go/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 244 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature_invalid at .../public_html/go/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:244)"} []
```

This happens when making a (POST /api/leads/new) request.

Does anyone have any ideas? I’m pushed for time to get this fixed.

Olivia

---

<div class="post-metadata">

**Author:** ![francescjr](https://avatars.discourse-cdn.com/v4/letter/f/c5a1d2/32.png) [@francescjr](https://forum.mautic.org/u/francescjr)\
**Post date:** [June 17, 2016, 1:28am UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397/3 "2016-06-17T01:28:41Z")

</div>

I think that anybody that wants to help you will need more information.

can you copy paste the code you use to authenticate to the api?

---

<div class="post-metadata">

**Author:** ![deepak586625](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@deepak586625](https://forum.mautic.org/u/deepak586625)\
**Post date:** [June 16, 2016, 11:13am UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397/4 "2016-06-16T11:13:04Z")

</div>

Hi

I am trying to push our live chat leads to mautic via rest api.  
But when i am trying oAuth1 authentication,i am getting “Incorrect access token parameters returned: Array” in the Apitester application.

In the mautic api logs, i see the below error:  
mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: “signature\_invalid” at  
x/x/x/x/x/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 174 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature\_invalid at /x/x/x/x/x/x/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:174)

I have verified that the keys are correct and created for oAuth authentuication.  
Also i have mentioned the same callback URL as the url where the apitester is hosted in both the places.

Please advise.

Thank you  
Deepak

---

<div class="post-metadata">

**Author:** ![guillaumegarcia13](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@guillaumegarcia13](https://forum.mautic.org/u/guillaumegarcia13)\
**Post date:** [January 27, 2017, 2:37pm UTC](https://forum.mautic.org/t/mautic-api-oauth-signature-invalid/4397/5 "2017-01-27T14:37:52Z")

</div>

Got something very similar here, coming from a WordPress plugin for Mautic

> [@](#):
>
> [2017-01-27 14:13:34] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionHttpException: “signature\_invalid” at /var/www/html/mautic.freelance.com/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php line 174 {“exception”:“[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): signature\_invalid at /var/www/html/mautic.freelance.com/vendor/willdurand/oauth-server-bundle/Service/OAuthServerService.php:174)”}
