googlefitbit icon indicating copy to clipboard operation
googlefitbit copied to clipboard

invalid_request - Invalid redirect_uri parameter value

Open danielthesoto opened this issue 9 years ago • 4 comments

Hey guys, I'm getting this error on Step 6 when I try to authorize the app:

The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.

Developer information: invalid_request - Invalid redirect_uri parameter value

I was able to bypass this error by selecting OAuth2 version 19 (instead of selecting the latest version) in the resources library in the scripts.

danielthesoto avatar Aug 29 '16 23:08 danielthesoto

Probably related to #15

simonbromberg avatar Sep 01 '16 15:09 simonbromberg

According to https://github.com/googlesamples/apps-script-oauth1 the callback url uses the script-id instead of the project key. The script-id can be obtained by clicking File -> Project properties in the Google Apps script editor. In my case this worked with the latest version 21 of OAuth2.

aremesch avatar Jan 10 '17 21:01 aremesch

Please follow these new and updated instructions instead. I've described in a step by step fashion on how to use SCRIPT ID instead of a Project Key: http://www.joe0.com/2017/03/18/how-to-sync-fitbit-data-to-google-spreadsheet/ I hope it helps.

JozefJarosciak avatar Mar 18 '17 12:03 JozefJarosciak

Script ID instead of project key. Can we add this to the documentation. Would have saved me an hour.

mdcomer avatar Apr 04 '17 07:04 mdcomer