skardhamar / rga

R Google Analytics
186 stars 89 forks source link

Bad Request Error #14

Closed Btibert3 closed 11 years ago

Btibert3 commented 11 years ago

A few months back, I was able to successfully connect and query Google Analytics with this package. I have a new project but can not connect. For reference, I am on Windows 7 32-bit. Here is how I got to my error:

  1. Navigated to a new directory.
  2. Ran the following code options(RCurlOptions = list(verbose = FALSE, capath = system.file("CurlSSL", "cacert.pem", package = "RCurl"), ssl.verifypeer = FALSE)); rga.open(instance="uga", where="uga.rga");
  3. I was prompted to add the code from my browser, after which I got the following error:

Error: Bad Request

This is new to me, and as I said, I was able to connect in the past. Any ideas?

skardhamar commented 11 years ago

Hi Btibert3

A lot of things has happend (you don't need to run the options-code anymore), please remove the current rga-package you have installed, and install the new one (instructions are in the readme).

Btibert3 commented 11 years ago

Thanks for the quick response. I updated and all worked well, but I did need to run the options block to get it to work.