# HELP! Thriveleads API is not populating contact segments/list

**URL:** <https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262>\
**Category:** Product Support\
**Created:** [February 5, 2017, 2:01am UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262 "2017-02-05T02:01:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gowen](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@gowen](https://forum.mautic.org/u/gowen)\
**Post date:** [February 5, 2017, 2:01am UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262/1 "2017-02-05T02:01:23Z")

</div>

Hi there please I need help ![:)]( ":)")  
  
  
  
I have successfully connect Mautic to thrive leads using the API.  
  
However when I am in thrive leads and try to connect via the mautic API my segments are not displayed please refer to attached or link below  
  
[https://www.screencast.com/t/Tj0fvweV8haL](https://www.screencast.com/t/Tj0fvweV8haL)  
  
  
  
  
  
I am running mautic v2.5.2-dev  
  
I am using oAuth2 for connection  
  
  
  
My API Setting  
  
Access token lifetime (in minutes) 60  
  
Refresh token lifetime (in days) 999  
  
  
  
Thanks a million

---

<div class="post-metadata">

**Author:** ![Paul999](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/paul999/32/156_2.png) [@Paul999](https://forum.mautic.org/u/Paul999)\
**Post date:** [February 5, 2017, 12:02pm UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262/2 "2017-02-05T12:02:04Z")

</div>

Ok 2 things:

1. To fix the segment not showing up in TL delete your /mautic/app/cache folder. Yes delete it. Trust me, it will be regenerated again right after. That fixes it (press the reload icon in Thrive). I had the same issue yesterday and that’s how I solved it.

P.S. deleting the cache folder is a good trouble shooting tactic in Mautic in general.

1. Don’t use oAuth2, use oAuth / oAuth1. Because oAuth2 requires you to re-authenticate periodically. No problem if you don’t mind, but if not necessary it’s just a hassle.

Please send the million to PO box 501, thanks 🙂

---

<div class="post-metadata">

**Author:** ![gowen](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@gowen](https://forum.mautic.org/u/gowen)\
**Post date:** [February 5, 2017, 2:01am UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262/3 "2017-02-05T02:01:23Z")

</div>

Hi there please I need help 🙂

I have successfully connect Mautic to thrive leads using the API.  
However when I am in thrive leads and try to connect via the mautic API my segments are not displayed please refer to attached or link below  
[https://www.screencast.com/t/Tj0fvweV8haL](https://www.screencast.com/t/Tj0fvweV8haL)

I am running mautic v2.5.2-dev  
I am using oAuth2 for connection

My API Setting  
Access token lifetime (in minutes) 60  
Refresh token lifetime (in days) 999

Thanks a million

---

<div class="post-metadata">

**Author:** ![gowen](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@gowen](https://forum.mautic.org/u/gowen)\
**Post date:** [February 7, 2017, 5:51pm UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262/4 "2017-02-07T17:51:48Z")

</div>

@Paul999 Thank you very very much 🙂 It worked the segments started populating on TL once I deleted the cache folder thanks.

Also I switched to oAuth1  
Enjoy your day

---

<div class="post-metadata">

**Author:** ![tulio](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tulio](https://forum.mautic.org/u/tulio)\
**Post date:** [October 18, 2017, 5:18pm UTC](https://forum.mautic.org/t/help-thriveleads-api-is-not-populating-contact-segments-list/7262/5 "2017-10-18T17:18:17Z")

</div>

[quote=19555:@Paul999]Ok 2 things:

1. To fix the segment not showing up in TL delete your /mautic/app/cache folder. Yes delete it. Trust me, it will be regenerated again right after. That fixes it (press the reload icon in Thrive). I had the same issue yesterday and that’s how I solved it.

P.S. deleting the cache folder is a good trouble shooting tactic in Mautic in general.

1. Don’t use oAuth2, use oAuth / oAuth1. Because oAuth2 requires you to re-authenticate periodically. No problem if you don’t mind, but if not necessary it’s just a hassle.

Please send the million to PO box 501, thanks :)[/quote]

This did the job for me 🙂
