Hey Derrick,
Have you been able to authenticate with the Pardot plugin previously on this server? It’s often related to a configuration issue.
I also can’t authenticate the WP plugin even though the credentials and API key are accurate. I keep getting this error message with no explanation as to what is wrong “Cannot authenticate. Please check the fields below and click “Save Settings” again.” Please help!
Hey @iconiq,
Like I mentioned, it’s often related to a configuration issue. If you’re certain the credentials are correct, two things to check:
- If your Pardot account is set up to only allow access from certain IP addresses, make sure your server’s is one of them.
- Contact your web host to make sure that the proper things are turned on to make external API calls.
Hi Cliff,
IP whitelisting is diabled and I’m running WP on localhost. What else could prevent me from authenticating? I really need this resolved as we’re fast approaching a deadline. Thanks.
Connie
Connie,
I understand the urgency, but there’s not much I can do in this case. Everything’s dependent on the server configuration (even a local one).
Authentication is working for others, so the best thing you can do now is disable all the other plugins and turn on the default theme. See if it works then. If it does, it’s a plugin/theme conflict. Otherwise, it’s likely to be a configuration issue with your localhost.
At least one of the the libraries that can be used to make the API call is cURL. Make sure that’s installed for PHP.
Cliff, cURL is installed and I’ve turned off all other plugins and it’s still not working. What could be the configuration issues with my localhost? I’m completely blocked by this.
What sort of localhost are you using?
I’m using Apache on a Mac, if that matters.
That’s not quite enough for me to help, unfortunately. Can you possibly try on a public server?
So the issue was something to do with my localhost configuration. I migrated the site to another server and the authentication worked. *shrugs*
Sorry for the trouble, but that’s great to hear!