EMERA Posted March 26, 2014 Share Posted March 26, 2014 Hello all, I've been trying to setup google API, I follow the steps and create a Client ID and Client Secret on Google Developers Console, insert the information on the PrestaShop form, but when I hit the Save & Authenticate Button, I get this error; Error: redirect_uri_mismatch The redirect URI in the request: http://emeratech.com/modules/gapi/oauth2callback.php did not match a registered redirect URI Learn more Bellow is how my registered redirection information looks in the google API: Redirect URIs http://www.emeratech.com/modules/gapi/oauth2callback.php Javascript Origins http://www.emeratech.com/ Any one can help me solve this issue? Thanks! Also, I have try removing the www after the http:, but then I get the following error; Error: invalid_client no application name Link to comment Share on other sites More sharing options...
JPresta.com Posted March 27, 2014 Share Posted March 27, 2014 Also, I have try removing the www after the http:, but then I get the following error; Error: invalid_client no application name I have same problem Link to comment Share on other sites More sharing options...
JPresta.com Posted March 27, 2014 Share Posted March 27, 2014 Ok, I found why: That error is displayed in case that under "APIs & auth" -> "Consent screen" you have empty field "PRODUCT NAME" - you need to select e-mail address as well. Link to comment Share on other sites More sharing options...
Administratоr Posted April 5, 2014 Share Posted April 5, 2014 Hi people I'm having a similar issue but not quite... I configure my client id, secret and profile id. Then I click save and authenticate. This brings me to the google page to "accept" connection. When I click validate, it goes to my website/modules/gapi/...callback.php?some-numbers This renders a 404 not found... how is this possible? I checked out on my ftp server: the file is there... is there something wrong with my .htaccess? Link to comment Share on other sites More sharing options...
Administratоr Posted April 5, 2014 Share Posted April 5, 2014 This is a detail of the failing google analytics api acceptance:First I configure the google analytics api page and click on save and authenticate I log in to my google account and click acceptGives me: Link to comment Share on other sites More sharing options...
colexxx Posted April 8, 2014 Share Posted April 8, 2014 Hello, I have same problem.. I followed the tutorial in the page but when I save and authenticate i get: redirect_uri_mismatch can anybody help me? thanks Link to comment Share on other sites More sharing options...
Administratоr Posted April 11, 2014 Share Posted April 11, 2014 This is a detail of the failing google analytics api acceptance: First I configure the google analytics api page and click on save and authenticate I log in to my google account and click accept Gives me: Who can help with this? Why is there a 404 error at this callback URL? Is there a .htaccess error? Link to comment Share on other sites More sharing options...
Fanto Posted April 19, 2014 Share Posted April 19, 2014 the same for me! Link to comment Share on other sites More sharing options...
Administratоr Posted April 26, 2014 Share Posted April 26, 2014 I solved my problem by changing the permissions on the /modules/gapi directory to 755. chmod 755 gapi Can also be done with ftp client. 1 Link to comment Share on other sites More sharing options...
Fanto Posted April 27, 2014 Share Posted April 27, 2014 solved chmod 755: gapi folder oauth2callback.php file gapi.php file Google API Authorization granted. NOW new issue: Google is unreachable (check your firewall) Cannot retrieve test results after click ok to permit google offline access? click to ACCEPT i've this error Link to comment Share on other sites More sharing options...
Administratоr Posted April 27, 2014 Share Posted April 27, 2014 solved chmod 755: gapi folder oauth2callback.php file gapi.php file Google API Authorization granted. NOW new issue: Google is unreachable (check your firewall) Cannot retrieve test results after click ok to permit google offline access? click to ACCEPT i've this error Both php files should have permission 644. 1 Link to comment Share on other sites More sharing options...
aeroxy Posted September 8, 2014 Share Posted September 8, 2014 Hey, what should you fill in the "profile" section? Link to comment Share on other sites More sharing options...
JeroenDW Posted September 8, 2014 Share Posted September 8, 2014 (edited) solved chmod 755: gapi folder oauth2callback.php file gapi.php file Google API Authorization granted. NOW new issue: Google is unreachable (check your firewall) Cannot retrieve test results after click ok to permit google offline access? click to ACCEPT i've this error I have also the same problem! It's not the first time this problem is stated in this forum. But it seems there is still no solution? Edited September 8, 2014 by JeroenDW (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts