# Only pulling one contact from SuiteCRM

**URL:** <https://forum.mautic.org/t/only-pulling-one-contact-from-suitecrm/9209>\
**Category:** Product Support\
**Created:** [August 10, 2017, 2:11pm UTC](https://forum.mautic.org/t/only-pulling-one-contact-from-suitecrm/9209 "2017-08-10T14:11:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike-accentdm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mike-accentdm/32/1178_2.png) [@mike-accentdm](https://forum.mautic.org/u/mike-accentdm)\
**Post date:** [August 10, 2017, 2:11pm UTC](https://forum.mautic.org/t/only-pulling-one-contact-from-suitecrm/9209/1 "2017-08-10T14:11:59Z")

</div>

I’m trying to connect Mautic (v 2.9.2) and SuiteCRM using the Sugar CRM plugin (set to 6.x Community). I can successfully push a contact from Mautic to SuiteCRM as a lead via a campaign action, however, when I try and pull contacts into Mautic from SuiteCRM, only one contact comes across.  
  
  
  
The plugin appears to be set up correctly, as evidenced by the fact that I can push and pull (1 contact) successfully, and there are no log entries that are related to this. I have tried two variations on the cron job:  
  
  
  
_mautic:integration:fetchleads --fetch-all --integration=Sugarcrm_, and  
  
_mautic:integration:fetchleads --integration=Sugarcrm_  
  
  
  
and both complete successfully (according to the cron message) but only one contact gets added, and it is the same contact every time.  
  
  
  
No relevant log entries anywhere - it all appears to be functioning but it’s not. Does anyone have any experience of this or suggestions for a fix?  
  
  
  
Thanks

---

<div class="post-metadata">

**Author:** ![mike-accentdm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mike-accentdm/32/1178_2.png) [@mike-accentdm](https://forum.mautic.org/u/mike-accentdm)\
**Post date:** [August 10, 2017, 2:11pm UTC](https://forum.mautic.org/t/only-pulling-one-contact-from-suitecrm/9209/2 "2017-08-10T14:11:59Z")

</div>

I’m trying to connect Mautic (v 2.9.2) and SuiteCRM using the Sugar CRM plugin (set to 6.x Community). I can successfully push a contact from Mautic to SuiteCRM as a lead via a campaign action, however, when I try and pull contacts into Mautic from SuiteCRM, only one contact comes across.

The plugin appears to be set up correctly, as evidenced by the fact that I can push and pull (1 contact) successfully, and there are no log entries that are related to this. I have tried two variations on the cron job:

mautic:integration:fetchleads --fetch-all --integration=Sugarcrm, and  
mautic:integration:fetchleads --integration=Sugarcrm

and both complete successfully (according to the cron message) but only one contact gets added, and it is the same contact every time.

No relevant log entries anywhere - it all appears to be functioning but it’s not. Does anyone have any experience of this or suggestions for a fix?

Thanks

---

<div class="post-metadata">

**Author:** ![tmg\_g4u](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@tmg\_g4u](https://forum.mautic.org/u/tmg_g4u)\
**Post date:** [September 26, 2017, 2:55pm UTC](https://forum.mautic.org/t/only-pulling-one-contact-from-suitecrm/9209/3 "2017-09-26T14:55:56Z")

</div>

We discovered similar behaviour. Whenever we execute the mautic:integration:fetchleads command (via cron or manually) only one record from Sugar is loaded into Mautic, even if we use the --fetch-all parameter.  
However unlike for medianicus, for us it’s always a different (new) record that is added to Mautic.  
We used Mautic 2.9.2 and Sugar (Ent) 7.9.1.0.
