Pardot: Form data not submitted to Pardot due to expired API key

Found in

EPiServer.MarketingAutomationIntegration.Pardot 3.0.0

Fixed in

EPiServer.MarketingAutomationIntegration.Pardot 3.0.1

Created

Oct 27, 2017

Updated

Oct 19, 2018

State

Closed, Fixed and tested


Description

In Pardot, the API Key is valid for 60 minutes, after which a new key is generated. This procedure works fine for other API calls, like retrieving prospect fields and prospect data. But when saving a prospect, the outdated key was being used. This caused a failure in the API call with the error message: "Either the user and/or API keys are incorrect, or the API key has expired."