Unable to activate Keap Official Opt-in Plugin on WordPress website

Hi,

I have installed the latest version of Keap Official Opt-in Plugin on my WordPress website but when I try to activate the plugin it gives a fatal error. The error is listed below. I have contacted Keap support but they have redirected me here. How can I resolve this?

Fatal error: Uncaught InfusionsoftWordPressSDKException: Didn’t receive 200 OK from remote server. (HTTP/2 401 ) in /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/subscription/infusionsoft/InfusionsoftWordPressSDK.php:211 Stack trace: #0 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/subscription/infusionsoft/InfusionsoftWordPressSDK.php(1021): InfusionsoftWordPressSDK->methodCaller() #1 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/includes/classes/integrations/class.infusionsoft-infusionsoft.php(54): InfusionsoftWordPressSDK->syncWordPressOptins() #2 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/infusionsoft.php(4173): infusionsoft_infusionsoft->sync_optins() #3 /home/magicdeveloper1/public_html/bradross.com/wp-includes/class-wp-hook.php(324): INF_Infusionsoft->sync_optin_forms() #4 /home/magicdeveloper1/public_html/bradross.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/magicdeveloper1/public_html/bradross.com/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/dashboard/dashboard.php(92): do_action() #7 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/infusionsoft.php(495): INF_Dashboard->update_option() #8 /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/infusionsoft.php(197): INF_Infusionsoft->db_install() #9 /home/magicdeveloper1/public_html/bradross.com/wp-includes/class-wp-hook.php(324): INF_Infusionsoft->activate_plugin() #10 /home/magicdeveloper1/public_html/bradross.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11 /home/magicdeveloper1/public_html/bradross.com/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /home/magicdeveloper1/public_html/bradross.com/wp-admin/plugins.php(196): do_action() #13 {main} thrown in /home/magicdeveloper1/public_html/bradross.com/wp-content/plugins/infusionsoft-official-opt-in-forms/subscription/infusionsoft/InfusionsoftWordPressSDK.php on line 211

it’s very possible that the plugin is broken. Keap is notorious for having external tools that are launched and then not supported.
If you can’t get it working, you may want to use another service and then use something like Make or Zapier to connect the intake forms to Keap.

Hi @Developer_Marketing,

I did a quick test with the Plugin. It installed okay, and the popup form was able to register the email address to my account.

Technical - Looking at the code, it seems to be failing on an API Endpoint that I did not know existed, and it is not documented either. Although it was designed for the plugin and not for developers to use. It seems to me that when it tries to communicate to that Endpoint for your Account, it fails due to various reasons.

I recommend that you raise a Support Ticket below to report the issue. The Support Team will be able to look at your account and see what needs correcting in the syncing of the WordPress OptIn Forms.

XML-RPC API WordPress Endpoints.

WordPressService.deleteWordPressOptin
WordPressService.syncWordPressOptins