-
Notifications
You must be signed in to change notification settings - Fork 147
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
Error Google Search Console Api #232
Comments
Im using Serpbear on a server and have a similar problem. When trying to save the private key for google search console i get error message: Forbidden. undefined |
Hello, |
I ran into this as well because I missed the step to enable the search console API. Try this url: (Make sure the correct project is selected, I trimmed |
Thanks @mrj0 it's work for me ! |
I tried the other fixes, none worked for most accounts, only 2 worked out of all my search console projects. I kept looking at the differences, and saw that the console sites that were not working were listed as "https://domain.com" and the ones that were working were listed as "domain.com" I have added the new search console properties as "domain.com", and received no errors when retrieving the results within the console - however I am now waiting for the search console properties to be updated within a day or two - from which I can actually see the search console keywords and insights. I will try to update this, but it's most likely fixed as I was getting the same error as OP. It's most likely how SerpBear gets the results from the search console property within the API. It probably just doesn't have a way to recognize the URL strings when they have https:// in front. @towfiqi |
So I have two installations going. I fixed the issue after adding a new google search console property without https:// in front of it. One serp bear installation has the domain as www.domain.com and the other is domain.com The one with domain.com works, the other with www. doesn't. Now... these installations are two different environments; one on a VPS with docker accessed by a subdomain, and one on pikapods. Hopefully this helps someone! |
@towfiqi I can confirm this with a docker installation setup. Had to change the property to a "domain" setup within the Google Search Console. As @IncreaseWebDev described, then it also worked for me. |
same error now, after update the new version. |
After full Restart and Docker Restart, it works now. |
Hello, great project, I have read the tutorial and followed it to the letter: https://docs.serpbear.com/miscellaneous/integrate-google-search-console
but I get these errors:
where it says domain.com my domain appears
[start] [ERROR] Search Console API Error for domain.com (3days) : Forbidden. undefined
[start] [ERROR] Search Console API Error for domain.com (7days) : Forbidden. undefined
[start] [ERROR] Search Console API Error for domain.com (30days) : Forbidden. undefined
[start] [ERROR] Search Console API Error for domain.com (30days) : Forbidden. undefined
I am using SerpBear locally
The text was updated successfully, but these errors were encountered: