Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API connector fails #11

Open
joggopops opened this issue Sep 16, 2021 · 1 comment
Open

API connector fails #11

joggopops opened this issue Sep 16, 2021 · 1 comment

Comments

@joggopops
Copy link

Hello.

I've been trying to connect from RStudio but it fails somehow.

My code looks like this:
image

I've created the API key and the key works when I connect from Screaming Frog.
But the console returns this:
image

Can you please help?

@mxcrml
Copy link

mxcrml commented Apr 16, 2022

Just in case this could be useful, I found a temporary fix for this issue :

  • After loading the package, run the following command :

trace("auth_pagespeed", edit=TRUE)

  • Then, an editor should open where you need to replace the following command line
[url](https://rdrr.io/r/base/connections.html) = "https://www.googleapis.com/pagespeedonline/v4/runPagespeed",
  • by
[url](https://rdrr.io/r/base/connections.html) = "https://www.googleapis.com/pagespeedonline/v5/runPagespeed",`

In fact, you simply need to replace "v4" by "v5".

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants