Mautic Community Forums

Salesforce Fetchleads Cron Error

I have Salesforce integration set up and authenticated successfully and set up teh cron job with the arguments:

mautic:integration:fetchleads --integration=Salesforce --time-interval=“15 minutes”



When I try and run the cron job to fetch leads, I get the following error and nothing is imported:



Task “/app/console” successfully completed in 3 seconds, output:

Command to fetch contacts from integration



[SymfonyComponentDebugExceptionFatalThrowableError]

Call to a member function getId() on null




Can anyone shed any light on this?



Thanks

I have Salesforce integration set up and authenticated successfully and set up teh cron job with the arguments:
mautic:integration:fetchleads --integration=Salesforce --time-interval=“15 minutes”

When I try and run the cron job to fetch leads, I get the following error and nothing is imported:

[b]Task “/app/console” successfully completed in 3 seconds, output:
Command to fetch contacts from integration

[SymfonyComponentDebugExceptionFatalThrowableError]
Call to a member function getId() on null[/b]

Can anyone shed any light on this?

Thanks

SOLVED…

In case anyone else has the same problem, I had to re-enter the field mappings in the plugin in Mautic.