# Vtiger Integration is not working

**URL:** <https://forum.mautic.org/t/vtiger-integration-is-not-working/1715>\
**Category:** Product Support\
**Created:** [April 3, 2015, 7:56am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715 "2015-04-03T07:56:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohitgarg](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mohitgarg](https://forum.mautic.org/u/mohitgarg)\
**Post date:** [April 3, 2015, 7:56am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/1 "2015-04-03T07:56:40Z")

</div>

Hi There,  
  
  
  
I have just installed the stable version of Mautic and i am trying to integrate the Vtiger CRM.  
  
  
  
There are 3 fields that need to filled.  
  
  
  
vTiger URL : I have put the my Vtiger url.  
  
  
  
vTiger username : I have mentioned the Vtiger Username  
  
  
  
vTiger access key : I have mentioned the Vtiger Login Password.  
  
  
  
but its showing the following error .  
  
  
  
Authorization failed with the error message, ‘Invalid username or password’  
  
  
  
Thanks

---

<div class="post-metadata">

**Author:** ![mohitgarg](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mohitgarg](https://forum.mautic.org/u/mohitgarg)\
**Post date:** [April 3, 2015, 7:56am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/2 "2015-04-03T07:56:40Z")

</div>

Hi There,

I have just installed the stable version of Mautic and i am trying to integrate the Vtiger CRM.

There are 3 fields that need to filled.

vTiger URL : I have put the my Vtiger url.

vTiger username : I have mentioned the Vtiger Username

vTiger access key : I have mentioned the Vtiger Login Password.

but its showing the following error .

Authorization failed with the error message, ‘Invalid username or password’

Thanks

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 3, 2015, 1:30pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/3 "2015-04-03T13:30:36Z")

</div>

Hi Mohitgarg

I just tested it and it seems to worked for me. A couple things I ran into:

1. Chrome wanted me to enable popups because the authentication screen activates a popup.
2. I think the URL can be an issue, here’s what I did when I tested it:

[https://www.evernote.com/shard/s42/sh/f387a4d9-af1e-437a-a635-18c0c95cab55/d4446d7170f95e3551bf82b35f9aa998](https://www.evernote.com/shard/s42/sh/f387a4d9-af1e-437a-a635-18c0c95cab55/d4446d7170f95e3551bf82b35f9aa998)

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [April 3, 2015, 2:04pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/4 "2015-04-03T14:04:21Z")

</div>

Also note that vTiger uses an access code, not your user password, for API authentication which you can get in your vTiger “My Preferences” under the “User Advanced Options.”

Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![mohitgarg](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mohitgarg](https://forum.mautic.org/u/mohitgarg)\
**Post date:** [April 7, 2015, 5:24am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/5 "2015-04-07T05:24:00Z")

</div>

Sure !!

Let me check Sir !!

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 8:37am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/6 "2016-01-21T08:37:00Z")

</div>

Hi @alanhartless

Sorry I’m confused…  
Should one then use the access code as the password input?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 10:28am UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/7 "2016-01-21T10:28:53Z")

</div>

Actually, I’ve written a short docs for Vtiger. Hope it helps:

[https://www.mautic.org/docs/plugins/vtiger\_crm.html](https://www.mautic.org/docs/plugins/vtiger_crm.html)

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 12:13pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/8 "2016-01-21T12:13:18Z")

</div>

@escopecz

I’m not seeing a lead field mapping tab for Vtiger  
Is that OK?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 12:15pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/9 "2016-01-21T12:15:33Z")

</div>

It means the integration is not authorized well.

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 12:17pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/10 "2016-01-21T12:17:30Z")

</div>

how can i fix it?

Just checked Vtiger the lead isn’t pushed through.

I followed all the steps in the Doc.  
where could i have gone wrong?  
@escopecz

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 12:35pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/11 "2016-01-21T12:35:28Z")

</div>

i just noticed something strange.

When i paste the access key over the old password and after iv’e authorize it successfully it seems it password reverts back to the previous one. ( the previous password is shorter than the access key, thats how i noticed this) could this be the problem @escopecz ?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 12:56pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/12 "2016-01-21T12:56:40Z")

</div>

The password/access key is not returned back to the configuration for security reasons. I don’t know what you are doing wrong. Maybe a screenshot of your configuration would help.

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 1:10pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/13 "2016-01-21T13:10:22Z")

</div>

![](https://drive.google.com/file/d/0ByOXXnPDE5MFMlJINVdVTFJLZmM/view?usp=sharing)  
[link text](https://drive.google.com/file/d/0ByOXXnPDE5MFMlJINVdVTFJLZmM/view?usp=sharing)  
@escopecz

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 1:21pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/14 "2016-01-21T13:21:48Z")

</div>

Yes, the authorization button should say “Reauthorize app” if it would be authorized correctly. I don’t see any problem there, but I tried the plugin with the demo account at [vtiger.com](http://vtiger.com). Not sure if there is something special you have to do if you self host it. Last thing I can advice is to check the server and the Mautic logs (in app/logs dir) if there is some error message.

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 1:56pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/15 "2016-01-21T13:56:21Z")

</div>

@escopecz

server error log:  
[Thu Jan 21 10:23:26 2016] [error] [client 196.22.206.148] File does not exist: /home/bereazhe/public\_html/404.shtml, referer: [http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html](http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html)  
[Thu Jan 21 10:23:26 2016] [error] [client 196.22.206.148] File does not exist: /home/bereazhe/public\_html/favicon.ico, referer: [http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html](http://www.bereahandyman.co.za/LP/AW/AW-ThankYouPage.html)  
[Thu Jan 21 08:24:50 2016] [error] [client 207.46.13.16] File does not exist: /home/bereazhe/public\_html/404.shtml  
[Thu Jan 21 08:24:50 2016] [error] [client 207.46.13.16] File does not exist: /home/bereazhe/public\_html/robots.txt

Mautic error log:  
[16-Aug-2015 18:07:30 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 478462 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2686  
[16-Aug-2015 18:07:54 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:07:59 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 20 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:08:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:08:33 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:08:47 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:11:50 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:17:23 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[16-Aug-2015 18:20:40 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36 bytes) in /home/bereazhe/public\_html/mautic/app/bootstrap.php.cache on line 2659  
[27-Aug-2015 14:26:11 Africa/Johannesburg] PHP Warning: mkdir(): No such file or directory in /home/bereazhe/public\_html/mautic/app/bundles/LeadBundle/Controller/LeadController.php on line 746  
[28-Aug-2015 22:14:51 Africa/Johannesburg] PHP Warning: filemtime(): stat failed for /media/images/lead\_avatars/avatar33 in /home/bereazhe/public\_html/mautic/app/bundles/LeadBundle/Templating/Helper/AvatarHelper.php on line 43

Does this Help?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 2:01pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/16 "2016-01-21T14:01:22Z")

</div>

> [@](#):
>
> Allowed memory size

Those memory limits are all a few months old so I guess that’s not related. I’m out of ideas. Last chance is to debug it by a PHP programmer. If you have any in your team, ask him kindly to take a look at it.

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 2:04pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/17 "2016-01-21T14:04:48Z")

</div>

@escopecz  
LOL i am the team but thanks for the assistance so far.  
so other path would be use hosted service, [mautic.com](http://mautic.com)

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 2:07pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/18 "2016-01-21T14:07:20Z")

</div>

Actually, that is good idea. Create a free Mautic instance there just to test the Vtiger plugin. That will rule out the error of your server/Mautic setting. If it will act the same way there, the problem will be probably in Vtiger setting

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [January 21, 2016, 4:48pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/19 "2016-01-21T16:48:41Z")

</div>

@escopecz

ok created new instance, but still doesn’t show field mapping tab.  
[link text](https://drive.google.com/file/d/0ByOXXnPDE5MFQWRMNFJTQllDVnM/view?usp=sharing)  
any ideas?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 21, 2016, 4:53pm UTC](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715/20 "2016-01-21T16:53:49Z")

</div>

Then maybe try to create a new trial instance of vTiger at [vTiger.com](http://vTiger.com) and see if you’ll be able to connect to it.

[Next page](https://forum.mautic.org/t/vtiger-integration-is-not-working/1715.md?page=2)
