Title: Error 400: invalid_request. Missing required parameter: refresh_token
Last modified: September 22, 2018

---

# Error 400: invalid_request. Missing required parameter: refresh_token

 *  Resolved [Jorge Rodriguez](https://wordpress.org/support/users/catupiryisjustcreamcheese/)
 * (@catupiryisjustcreamcheese)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-400-invalid_request-missing-required-parameter-refresh_token/)
 * I am having trouble getting it to work on our site, but our testing site it works
   like a charm. And I really like this plugin, so this is why I am here to ask 
   if maybe you have seen this kind of error before and know why it happens.
 * I am trying to narrow it down. My guess is that is some kind of CURL, or PHP-
   CURL SSL related issue, or server miss-configuration. We try to make our site
   as secure as possible and that sometimes brings an unspeakable amount of headaches.
   Our site has an SSL certificate and our testing site doesn’t, which is why I 
   think this alone might be related to the issue at hand.
 * This is the error I see:
 * Error code [400] debug:
    [invalid_request] Missing required parameter: refresh_token

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Jorge Rodriguez](https://wordpress.org/support/users/catupiryisjustcreamcheese/)
 * (@catupiryisjustcreamcheese)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-400-invalid_request-missing-required-parameter-refresh_token/#post-10713170)
 * Update: my bad. When I wrote the message I had just installed php curl to see
   if it fixed the issues but still got the same results. I had to restart apache
   to be able to see it work. Now it works. Also, curl_exec was disabled on our 
   php.ini and was needed for this plugin to work. Now that I see it working I can
   see this was somehow the issue. Sorry for the false alarm.
 *  Plugin Contributor [Lara Google Analytics – Support](https://wordpress.org/support/users/laragoogleanalytics/)
 * (@laragoogleanalytics)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-400-invalid_request-missing-required-parameter-refresh_token/#post-10713932)
 * [@catupiryisjustcreamcheese](https://wordpress.org/support/users/catupiryisjustcreamcheese/),
 * Glad to hear that it is working for you 🙂
 * Thanks,
    Lara Support

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error 400: invalid_request. Missing required parameter: refresh_token’
is closed to new replies.

 * ![](https://ps.w.org/lara-google-analytics/assets/icon-128x128.png?rev=1404486)
 * [Lara's Google Analytics (GA4)](https://wordpress.org/plugins/lara-google-analytics/)
 * [Support Threads](https://wordpress.org/support/plugin/lara-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/lara-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lara-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lara-google-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Lara Google Analytics – Support](https://wordpress.org/support/users/laragoogleanalytics/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/error-400-invalid_request-missing-required-parameter-refresh_token/#post-10713932)
 * Status: resolved