You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Salesforce data might contain characters such as a backslash. While this data imports to mautic successfully, it does not seem to be escaped or encoded correctly when passed back into the salesforce API (during the "Mautic to Salesforce" phase).
I believe the following error comes from the Salesforce call itself, i.e. this is not a PHP/code-related error:
Updating/creating companies from Mautic to Salesforce
About 0 to update and about 15654 to create/update
3/15654 [>---------------------------] 0%
[Mautic\PluginBundle\Exception\ApiErrorException]
Solutions','Mxxxxxxxxxxxy Solutions','md\PAxxxxxxxxxxx Services','Mxxx'
^
ERROR at Row:1:Column:710
Invalid string literal 'md\PAxxxxxxxxxxx Services'. Illegal character sequence '\P' in string literal.
If a bug:
Q
A
Mautic version
2.11.0
PHP version
7.0.24
Steps to reproduce:
Save a record in salesforce with a company name or contact position/title containing characters which will not pass SOSL/SOQL query validation (i.e. use restricted characters). In the problematic case it was a string containing \P (md\PBB Zxxxhxhx for example).
Run the mautic:integration:fetchleads command and pull the record from step 1
Log errors:
This log is specific to this request (its the same one referenced above)
[2017-10-30 06:43:22] mautic.NOTICE: Mautic\PluginBundle\Exception\ApiErrorException: Solutions','MD Technology Solutions','md\PAxxxxxxxxxxx Services','Mdec'
^ ERROR at Row:1:Column:710 Invalid string literal 'md\PAxxxxxxxxxxx Services'. Illegal character sequence '\P' in string literal. (uncaught exception) at /var/www/html/plugins/MauticCrmB
undle/Api/SalesforceApi.php line 83 while running console command `mautic:integration:fetchleads` [] []
This log was found prior to the previous log. Looks like the same issue with a different piece of (similarly unescaped) data.
[2017-10-30 05:29:30] mautic.NOTICE: Mautic\PluginBundle\Exception\ApiErrorException: American Xxxxxx Inc \','American Xxxxxxxxx Services','American
^ ERROR at Row:1:Column:1688 expecting a right parentheses, found 'American' (uncaught exception) at /var/www/html/plugins/MauticCrmBundle/Api/SalesforceApi.php line 83 while running conso
le command `mautic:integration:fetchleads` [] []
What type of report is this:
Description:
Salesforce data might contain characters such as a backslash. While this data imports to mautic successfully, it does not seem to be escaped or encoded correctly when passed back into the salesforce API (during the "Mautic to Salesforce" phase).
I believe the following error comes from the Salesforce call itself, i.e. this is not a PHP/code-related error:
If a bug:
Steps to reproduce:
Save a record in salesforce with a company name or contact position/title containing characters which will not pass SOSL/SOQL query validation (i.e. use restricted characters). In the problematic case it was a string containing \P (
md\PBB Zxxxhxhx
for example).Run the mautic:integration:fetchleads command and pull the record from step 1
Log errors:
Extra
These articles were useful in troubleshooting:
The text was updated successfully, but these errors were encountered: