• Resolved RyanJBaron

    (@rjbaron)


    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?

    Ryan

    http://wordpress.org/plugins/hubspot/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Cliff

    Plugin Author Andy

    (@andypitre)

    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?

    Thanks,

    Andy

    Thread Starter RyanJBaron

    (@rjbaron)

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

    Ryan

    Hi I am getting
    “HubSpot Plugin: Error connecting to API – 404”

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HubSpot Plugin: Error connecting to API – 404’ is closed to new replies.