# Incorrect access token parameters returned - Thrive integration problem

**URL:** <https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644>\
**Category:** Product Support\
**Created:** [June 2, 2017, 1:29pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644 "2017-06-02T13:29:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 2, 2017, 1:29pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/1 "2017-06-02T13:29:21Z")

</div>

Hello Mautic community! A new user here ![:)]( ":)")  
  
  
  
I have successfully installed Mautic in a shared hosting environment together with my blog. So far everything seems to be working well.  
  
  
  
The issue I am not able to solve is Thrive Leads connecting to Mautic. After creating the API credentials on Oauth2 and entering the details on the Thrive API dashboard, I get the following error:  
  
  
  
The connection didn’t work.  
  
Error message: Incorrect access token parameters returned: ???  
  
  
  
I have wordpress and mautic working on PHP 7.07 in the same server.  
  
  
  
Any ideas where the issue could be?  
  
  
  
Thank you very much in advance!  
  
  
  
  
  
Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 2, 2017, 1:29pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/2 "2017-06-02T13:29:21Z")

</div>

Hello Mautic community! A new user here 🙂

I have successfully installed Mautic in a shared hosting environment together with my blog. So far everything seems to be working well.

The issue I am not able to solve is Thrive Leads connecting to Mautic. After creating the API credentials on Oauth2 and entering the details on the Thrive API dashboard, I get the following error:

The connection didn’t work.  
Error message: Incorrect access token parameters returned: ???

I have wordpress and mautic working on PHP 7.07 in the same server.

Any ideas where the issue could be?

Thank you very much in advance!

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 3, 2017, 12:10pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/3 "2017-06-03T12:10:59Z")

</div>

Still same error after clearing the cache ☹

I am thinking if maybe I have configured “redirect URL” properly and HTTP Basic Auth as well…

I keep trying but the same error appears. Any other ideas?

Thanks a million,

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 3, 2017, 2:30pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/4 "2017-06-03T14:30:27Z")

</div>

Hello again!

Yes, I first used that video as well as this one: [https://www.youtube.com/watch?v=Ir4CkL9n6\_o](https://www.youtube.com/watch?v=Ir4CkL9n6_o)

Apparently Oauth1 is no longer supported by Thrive so we are left with the option of Oauth2. If I try to follow the instructions of the video you sent, the error message I get is the following:

The connection didn’t work.  
Error message: An unknown error has occurred

Do you have any ideas on how to troubleshoot this or which logs to look at? I am working in the latest versions of Mautic, Thrive, Wordpress and PHP, all within the same server, so the connection should work without much trouble, shouldn’t it?

Thank you very much,

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 3, 2017, 5:28pm UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/5 "2017-06-03T17:28:37Z")

</div>

Hello again,

Here is the same step by step procedure:

![](https://s23.postimg.org/ze4e1dn4n/mautic_1.jpg)

![](https://s23.postimg.org/bbnk6i6hj/mautic_2.jpg)

![](https://s23.postimg.org/98hqckw2f/mautic_3.jpg)

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 5, 2017, 4:20am UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/6 "2017-06-05T04:20:23Z")

</div>

Ahhhh… ok, let’s open that can of worms and see how it goes.

Thank you very much for the troubleshooting!

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 7, 2017, 11:55am UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/7 "2017-06-07T11:55:33Z")

</div>

Ok so Mautic is now in SSL and still this happens in the same fashion. Any other thing we can troubleshoot? Redirect URL?

Thanks in advance,

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 8, 2017, 7:07am UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/8 "2017-06-08T07:07:55Z")

</div>

Hello again,

Cleared the cache and double-checked the Redirect URI but problem persists. Any ideas?

Thank you,

Jon

---

<div class="post-metadata">

**Author:** ![jonvaldivia](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jonvaldivia](https://forum.mautic.org/u/jonvaldivia)\
**Post date:** [June 10, 2017, 8:27am UTC](https://forum.mautic.org/t/incorrect-access-token-parameters-returned-thrive-integration-problem/8644/9 "2017-06-10T08:27:53Z")

</div>

Hello!

Another thing I have tried is to disable certain plugins on my Wordpress to see if they created conflict. So far no success. Is there any log file that we can look into as to troubleshoot the issue further?

Does my Wordpress also need to be in SSL?

Thank you,

Jon
