From f882439cbdac658b36ed196c16767cee6cb10869 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 30 Jul 2025 19:28:59 -0700 Subject: [PATCH] Updated `gam print|show webmastersites` to handle permissionDenied --- wiki/GamUpdates.md | 7 +++++++ wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Version-and-Help.md | 12 ++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index 619c59e7..99cac80a 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,13 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation +### - 7.17.02 + +Updated `gam print|show webmastersites` to handle the following error +that occurs if you haven't updated your project to include the Google Search Console API. +``` +ERROR: 403: permissionDenied - Google Search Console API has not been used in project 111055363999 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/searchconsole.googleapis.com/overview?project=111055363999 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. + ### 7.17.01 Fixed bug in `gam show webmastersites` that caused a trap. diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index 6ba6d82a..bc7ec530 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -252,7 +252,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAM 7.17.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.17.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -990,7 +990,7 @@ writes the credentials into the file oauth2.txt. C:\>del C:\GAMConfig\oauth2.txt C:\>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAM 7.17.01 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.17.02 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.13.5 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index 58ff1c7a..fcae11f2 100644 --- a/wiki/Version-and-Help.md +++ b/wiki/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAM 7.17.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.17.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.17.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.17.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAM 7.17.01 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.17.02 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.17.01 + Latest: 7.17.02 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -7.17.01 +7.17.02 ``` In Linux/MacOS you can do: ``` @@ -82,7 +82,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.17.01 - https://github.com/GAM-team/GAM +GAM 7.17.02 - https://github.com/GAM-team/GAM GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64