HubSpot for WordPress
[resolved] HubSpot Plugin: Error connecting to API - 404 (6 posts)

  1. RyanJBaron
    Posted 1 year ago #

    This error:
    HubSpot Plugin: Error connecting to API - 404
    recently started showing up in my wordpress admin. I updated hubspot to the latest version but I am still getting the error. I also updated wordpress to the latest version as well from 3.5.1 (the error was showing before the updated, as well as after the updates).

    It looks like the error is happening in the hs-notice.php file in the ssl_check() function on line 73 and then down to the if statement on line 93:

    if ($response_code != 200) {
      $this->admin_notice("HubSpot Plugin: Error connecting to API - " . $response_code);

    In the ssl_check function there is this call:
    $result = wp_remote_get("https://api.hubapi.com/contacts/v1/contact/email/testingapis@hubspot.com/profile?hapikey=demo");

    When I directly visit this url I see the JSON response of:
    {"status":"error","message":"resource not found","requestId":"c53c660b-665e-40a5-ac8e-3316dc766b7d"}

    Any ideas on the problem or how to solve the issue?



  2. issunboshi
    Posted 1 year ago #

    Hi Ryan,

    I'm also having the same issue on 3 different URLs.

    I suspect the Hubspot API is either down or is refusing requests it used to allow.


  3. Andy
    Plugin Author

    Posted 1 year ago #

    Hi All,

    We did have an issue with the API, but it should be resolved now. Can you confirm that things are working normally on your ends?



  4. RyanJBaron
    Posted 1 year ago #

    Thanks, things are again working on my end for the plugin.


  5. blueprintmarketing
    Posted 7 months ago #

    Hi I am getting
    "HubSpot Plugin: Error connecting to API - 404"

  6. leecrockett
    Posted 6 months ago #

    Andy, it's either down again or something else, but this error just appeared for me this morning.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HubSpot for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic