# Hubspot contacts not syncing

**URL:** <https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095>\
**Category:** General Discussion\
**Created:** [July 28, 2017, 12:46am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095 "2017-07-28T00:46:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jepva](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jepva](https://forum.mautic.org/u/jepva)\
**Post date:** [July 28, 2017, 12:46am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/1 "2017-07-28T00:46:47Z")

</div>

We’ve enabled the Hubspot plug-in and configured it with the API key, checked all the boxes and done the contact mapping. However, we cannot get a contact from Hubspot to sync to Mautic. Yes, I already searched…  
  
  
  
I’m trying the command to fetch the contacts, but it always just says 0 contacts fetched. Don’t see any errors anywhere…  
  
  
  
$ php app/console mautic:integration:fetchleads --integration=Hubspot  
  
Command to fetch contacts from integration  
  
Fetch contacts command is starting  
  
Number of contacts fetched: 0  
  
  
  
Any ideas?

---

<div class="post-metadata">

**Author:** ![jepva](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jepva](https://forum.mautic.org/u/jepva)\
**Post date:** [July 28, 2017, 12:46am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/2 "2017-07-28T00:46:47Z")

</div>

We’ve enabled the Hubspot plug-in and configured it with the API key, checked all the boxes and done the contact mapping. However, we cannot get a contact from Hubspot to sync to Mautic. Yes, I already searched…

I’m trying the command to fetch the contacts, but it always just says 0 contacts fetched. Don’t see any errors anywhere…

$ php app/console mautic:integration:fetchleads --integration=Hubspot  
Command to fetch contacts from integration  
Fetch contacts command is starting  
Number of contacts fetched: 0

Any ideas?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 28, 2017, 4:02am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/3 "2017-07-28T04:02:42Z")

</div>

Mautic doesn’t import it only post leads that you have flagged through your campaign builder. For that you need to make a custom plugin ,…man

---

<div class="post-metadata">

**Author:** ![mauticdevelopers](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mauticdevelopers](https://forum.mautic.org/u/mauticdevelopers)\
**Post date:** [July 28, 2017, 10:05am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/4 "2017-07-28T10:05:44Z")

</div>

If you need assist with custom plugin development our team is able to build it for you. Just write us with more details [hello@mauticdevelopers.com](mailto:hello@mauticdevelopers.com) or put some details here

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 28, 2017, 11:34am UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/5 "2017-07-28T11:34:54Z")

</div>

Can anyone help me out

That, How vTiger contacts can sync in mautic and vice a versa?

What i need , People who are added to Vtiger should get added to Mautic and Vice Versa.

Thanks in advance

Kishan Kumawat

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [October 26, 2017, 9:35pm UTC](https://forum.mautic.org/t/hubspot-contacts-not-syncing/9095/6 "2017-10-26T21:35:59Z")

</div>

This cron job I set up to initiate the sync every 5 minutes works for me:

```auto
php /home/xxx/xxx/app/console mautic:integration:fetchleads --integration=Hubspot	
```

Remember and change the xxx to whatever your correct path.

This is working fine but only seems to sync once, so for instance although I have over 400 contacts in HubSpot it’s only bringing in 13.

I also forgot to map the company name in the company fields, it’s imported over 200 companies but doesn’t seem to sync already imported contacts with the respective field, which is now mapped correctly, is there a way to force update all contacts and companies?
