You need to sign in to do that
Don't have an account?
Jennifer.Schnell
Developer Script Exception - PardotEndpointHelper
We have a button "Send to Pardot" with a visualforce page behind it that is suppose to send a salesforce record to Pardot, however I am now getting the below error when using it. I understand this is a Managed Package, but wanted to see if there is anything I can do on my end.
ERROR MESSAGE:
Visualforce Error
pi.PardotApiException: Request failed with Pardot API
An unexpected error has occurred. Your solution provider has been notified. (pi)
VISUALFORCE PAGE:
<apex:page controller="pi.SendToPardotController">
<script>
window.history.back();
</script>
</apex:page>
APEX CONTROLLER
/*
This file is generated and isn't the actual source code for this
managed global class.
This read-only file shows the class's global constructors,
methods, variables, and properties.
To enable code to compile, all methods return null.
*/
global class SendToPardotController extends pi.PardotApiCalloutManager {
webService static String sendToPardot(String sessionId, String serverUrl, String type, String id) {
return null;
}
webService static String sendToPardotV2(String serverUrl, String type, String id) {
return null;
}
}
ERROR MESSAGE:
Visualforce Error
pi.PardotApiException: Request failed with Pardot API
An unexpected error has occurred. Your solution provider has been notified. (pi)
VISUALFORCE PAGE:
<apex:page controller="pi.SendToPardotController">
<script>
window.history.back();
</script>
</apex:page>
APEX CONTROLLER
/*
This file is generated and isn't the actual source code for this
managed global class.
This read-only file shows the class's global constructors,
methods, variables, and properties.
To enable code to compile, all methods return null.
*/
global class SendToPardotController extends pi.PardotApiCalloutManager {
webService static String sendToPardot(String sessionId, String serverUrl, String type, String id) {
return null;
}
webService static String sendToPardotV2(String serverUrl, String type, String id) {
return null;
}
}