WordPress.org

Forums

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

  1. RyanJBaron
    Member
    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?

    Ryan

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

  2. issunboshi
    Member
    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.

    Cliff

  3. Andy
    Member
    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?

    Thanks,

    Andy

  4. RyanJBaron
    Member
    Posted 1 year ago #

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

    Ryan

  5. blueprintmarketing
    Member
    Posted 7 months ago #

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

  6. leecrockett
    Member
    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