Unable to save Google Access Code
-
Hello,
When I try to save the Google Access Code, I get the following error:
[ERROR_MSG] => Auth, Invalid OAuth2 access tokenAdditionally, I do not see this added under Google Permissions:
https://myaccount.google.com/permissions
-
Hello @gfxdesigner
Thanks for reaching us,It means clearly that Auth code is not saved, therefore can you clear the browser cache and authenticate with google with the permissions and then hit save,
Make sure if its not saving then right click the browser and inspect the element and look at the console if showing any JS errors to save then it means that some plugin is conflicting and then you have to enable the debug mode from config.php and send me the error seen in debug.log to help you to troubleshoot the issueThanks
AbdullahHello Abdullah,
I opened up an Incognito session, selected “Get Code” and after adding permissions, selected “Save”. I am not getting anything in the Debug log.
I also added the following to my wp-config.php:
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );
@ini_set( ‘display_errors’, 0 );
define( ‘SCRIPT_DEBUG’, true );No errors were generated in /wp-content/debug.log.
I also did an “Inspect” in the browser but had no errors.
Facing same issue.
I then deactivated the Authentication code and attempt to reauthenticate. But it gives errorAccess blocked: GSheetConnector for WP Contact Forms’s request is invalid You can’t sign in because GSheetConnector for WP Contact Forms sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error If you are a developer of GSheetConnector for WP Contact Forms, see error details. Error 400: invalid_requestPl help.
-
This reply was modified 3 years, 7 months ago by
Supra.
@gfxdesigner
After updating this plugin & CF7 plguin to latest, the issue got resolved.@supra21
Thanks for the updateAuth process is updated as per the Google New Policy, so it must required to update a plugin to 5.0.0 also make sure to update the CF7 version to 5.6.4
Thanks
AbdullahI had both plugins updated to the latest version when I reported my issue.
To troubleshoot further, I installed CF7 Google Sheets Connector on another website and tried to save the authentication code and it still fails.
I, unfortunately, have no errors generated in /wp-content/debug.log listed to troubleshoot the problem.
@gfxdesigner
1. Please confirm you entered all the debug statements and set them to true in your wp-config.php
2. Look at https://myaccount.google.com/permissions
and check if GSheetConnector is showing along with Drive and Sheet permissions,
If not showing then click and remove/revoke and then Re-Authenticate with Google and Save the new auth code
and then check the debug.log under the wp-content directory and let me knowHope this helps!
Thanks
AbdullahHello,
I have the following errors:
#0 /home/abc/public_html/wp-content/plugins/social-auto-poster/includes/social/libraries/medium/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler()
#1 /home/abc/public_html/wp-content/plugins/social-auto-poster/includes/social/libraries/medium/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create()
#2 /home/abc/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(1213): GuzzleHttp\Client->__construct(Array)
#3 /home/abc/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(1163): Google\Client->createDefaultHttpClient()
#4 /home/abc/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/src/Client.php(255): Google\Client->getHttpClient()
#5 /home/abc/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/google-sheets.php(54) in /home/wce/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/vendor/guzzlehttp/guzzle/src/functions.php on line 61Thanks for your time in reviewing.
Hello @gfxdesigner
Thanks for the error messageIt looks you are using a plugin social-auto-poster which is using an older version of GuzzleHttp therefore it conflicts
Please deactivate this plugin for a while and check it out!We are using the latest version of GuzzleHTTP and therefore it conflicts with older, you can ask the developer to update with the latest version
Hope this helps!Thanks
AbdullahThank you. I reached out to the other plugin developer to see if they can update GuzzleHTTP.
-
This reply was modified 3 years, 7 months ago by
The topic ‘Unable to save Google Access Code’ is closed to new replies.