• Resolved fraktale

    (@fraktale)


    Hello
    Since i updated the last version of hubspot plugin i have a API HTTP CALL message from QUERY MONITOR :

    https://api.hubspot.com/wordpress/v1/oauth/refresh
    ?refresh_token=

    400 Bad Request
    
        Transport API HTTP : curl
        Temps de résolution DNS: 0,0052
        Temps de connexion: 0,0077
        Heure de début de transfert (TTFB): 0,1633
        Taille de la réponse: 110 o
        Type de contenu de réponse: application/json;charset=utf-8
        Adresse IP: 104.19.154.83
    Leadin\r\HubSpotApiClient::make_request()
        wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:57
        Leadin\r\HubSpotApiClient::refresh_access_token()
        wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:105
        Leadin\a\OAuth::refresh_access_token()
        wp-content/plugins/leadin/src/auth/class-oauth.php:110
        Leadin\a\OAuth::get_access_token()
        wp-content/plugins/leadin/src/auth/class-oauth.php:59
        Leadin\r\HubSpotApiClient::get_oauth_headers()
        wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:28
        Leadin\r\HubSpotApiClient::authenticated_request()
        wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:88
        Leadin\r\HubSpotApiClient::get_contacts_from_timestamp()
        wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:143
        Leadin\a\ReviewController::has_contacts_create_since_activation()
        wp-content/plugins/leadin/src/admin/class-reviewcontroller.php:20
        Leadin\a\NoticeManager->should_show_review_notice()
        wp-content/plugins/leadin/src/admin/class-noticemanager.php:73
        Leadin\a\NoticeManager->leadin_action_required_notice()
        wp-content/plugins/leadin/src/admin/class-noticemanager.php:53
        do_action('admin_notices')
        wp-includes/plugin.php:474

    Do you have any idées how to fix that problem ?

    Thanks

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

    (@mlamacchia)

    Hey there,

    Apologies for this issue. There was an API call that was supposed to be fired only in some scenarios but got fired at every page load instead.

    We deployed a patch version (8.6.15) this morning to fix the problem.

    Thread Starter fraktale

    (@fraktale)

    It is ok now !
    thanks for the quick patch !

    Thread Starter fraktale

    (@fraktale)

    Hello

    We updated the HubSpot plugin this morning (V8.7.7).
    And the same “400 bad request” problem happen again, but only on back-office dashboard page : wp-admin/index.php

    POST
    https://api.hubspot.com/wordpress/v1/oauth/refresh
    ?refresh_token= 400 Bad Request

    Transport API HTTP : curl
    Temps de résolution DNS: 0,0168
    Temps de connexion: 0,0192
    Heure de début de transfert (TTFB): 0,2292
    Taille de la réponse: 110 o
    Type de contenu de réponse: application/json;charset=utf-8
    Adresse IP: 104.19.154.83

    Leadin\r\HubSpotApiClient::make_request()
    wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:57
    Leadin\r\HubSpotApiClient::refresh_access_token()
    wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:105
    Leadin\a\OAuth::refresh_access_token()
    wp-content/plugins/leadin/src/auth/class-oauth.php:110
    Leadin\a\OAuth::get_access_token()
    wp-content/plugins/leadin/src/auth/class-oauth.php:59
    Leadin\r\HubSpotApiClient::get_oauth_headers()
    wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:28
    Leadin\r\HubSpotApiClient::authenticated_request()
    wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:88
    Leadin\r\HubSpotApiClient::get_contacts_from_timestamp()
    wp-content/plugins/leadin/src/rest/class-hubspotapiclient.php:143
    Leadin\a\ReviewController::has_contacts_created_since_activation()
    wp-content/plugins/leadin/src/admin/class-reviewcontroller.php:29
    Leadin\a\NoticeManager->should_show_review_notice()
    wp-content/plugins/leadin/src/admin/class-noticemanager.php:74
    Leadin\a\NoticeManager->leadin_action_required_notice()
    wp-content/plugins/leadin/src/admin/class-noticemanager.php:52
    do_action(‘admin_notices’)
    wp-includes/plugin.php:474`

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘problem with the last version : api.hubspot.com/wordpress/v1/oauth/refresh’ is closed to new replies.