• Resolved wordna

    (@wordna)


    I am seeing the following error message in Query Monitor on /wp-admin/index.php :

    Method: POST
    URL: https://api.hubspot.com/wordpress/v1/oauth/refresh
    ?refresh_token=
    Status: `400 Bad Request
    HTTP API Transport: curl
    DNS Resolution Time: 0.0709
    Connection Time: 0.0723
    Transfer Start Time (TTFB): 0.1340
    Response Content Type: application/json;charset=utf-8
    IP Address:`
    Caller: `Leadin\client\HubSpot_Base_Api_Client->make_request()
    wp-content/plugins/leadin/src/modules/client/class-hubspot-base-api-client.php:58
    Leadin\client\Access_Token_Api_Client->refresh_access_token()
    wp-content/plugins/leadin/src/modules/client/class-access-token-api-client.php:24
    Leadin\auth\OAuth::refresh_access_token()
    wp-content/plugins/leadin/src/auth/class-oauth.php:111
    Leadin\auth\OAuth::get_access_token()
    wp-content/plugins/leadin/src/auth/class-oauth.php:59
    Leadin\client\HubSpot_Base_Api_Client->get_oauth_headers()
    wp-content/plugins/leadin/src/modules/client/class-hubspot-base-api-client.php:28
    Leadin\client\HubSpot_Base_Api_Client->authenticated_request()
    wp-content/plugins/leadin/src/modules/client/class-hubspot-base-api-client.php:90
    Leadin\a\c\Contacts_Api_Client->get_contacts_from_timestamp()
    wp-content/plugins/leadin/src/admin/modules/client/class-contacts-api-client.php:45
    Leadin\admin\ReviewController::has_contacts_created_since_activation()
    wp-content/plugins/leadin/src/admin/class-reviewcontroller.php:31
    Leadin\admin\NoticeManager->should_show_review_notice()
    wp-content/plugins/leadin/src/admin/class-noticemanager.php:75
    Leadin\admin\NoticeManager->leadin_action_required_notice()
    wp-content/plugins/leadin/src/admin/class-noticemanager.php:52
    do_action(‘admin_notices’)
    wp-includes/plugin.php:517`
    Component: Plugin: leadin

    I am running version 9.2.12

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support deb

    (@dbhattacharya)

    Hi @wordna,

    Thanks for writing to us!

    Could you let us know if you’re facing any issue with the plugin due to this error? Are you able to login to Hubspot & connect the plugin?

    Best Regards!

    Thread Starter wordna

    (@wordna)

    I am indeed able to login and connect the plugin. I haven’t noticed any functionality issues, but I also haven’t run a bunch of tests. I do note, however that this HTTP API Call with a 400 Bad Request error is slowing down my site.

    I don’t understand why this plugin is benig called at all on /wp-admin/index.php?

    Plugin Support deb

    (@dbhattacharya)

    Hi @wordna,

    Since there isn’t any impact on the plugin functionality, I am marking this as resolved.
    We will look into the performance impact as part of our backlog in future.

    Best Regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘400 Bad Request’ is closed to new replies.