Marketo: API call errors out due to empty cookie

Found in

EPiServer.MarketingAutomationIntegration.Marketo 1.4.0

Fixed in

EPiServer.MarketingAutomationIntegration.Marketo 3.0.1

Created

Aug 25, 2017

Updated

Oct 19, 2018

State

Closed, Fixed and tested


Description

If the cookie that stores contact Id is empty, the call to SOAP API is made. The call returns with an exception that the cookie is not in the correct format. This results in unnecessary API calls and errors in the log.
The API call should only be made if the cookie holds a value.