01-12-2016 22:09 - edited 01-13-2016 08:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-12-2016 22:09 - edited 01-13-2016 08:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
I am getting an invalid redirect_uri parameter value when redirecting users to the authorization page . The redirect_uri parameter matches the CallBack URL on my application settings (I have verified this many times!) . The following is the URL where we are redirecting:
I also have http://localhost:8080 configured for development, and the bizzarre thing is that that one works well.
Any ideas?
Thanks and regards,
Jorge
Answered! Go to the Best Answer.
Accepted Solutions
01-13-2016 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-13-2016 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
It turns out that there was indeed a difference in the URL and the setting on my app. After correcting this everything is working A-OK!
It is good to verify things twice, thrice and why not, a fourth time.
01-13-2016 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-13-2016 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
It turns out that there was indeed a difference in the URL and the setting on my app. After correcting this everything is working A-OK!
It is good to verify things twice, thrice and why not, a fourth time.
09-29-2016 04:18 - edited 09-29-2016 23:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-29-2016 04:18 - edited 09-29-2016 23:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am using FitBit api to get user's data in my Android app, It doesn't communicate with any server for using in App. For implementating oAuth, I'm using Chrome custom Tabs, When I 'Allow' app to access user's fitbit data, it is givin me ERR_UNKNOWN_URL_SCHEME.
My Callback URL : <myappname>://logincallback
In manifest,
<data
android:host="logincallback"
android:scheme="myappname" />

10-03-2016 14:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-03-2016 14:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@nikitatech: Might need to ask in an Android developer-specific support forum, as this doesn't seem to be specific to Fitbit. Only thing I could find when searching for this error is that there was a bug in an older version of Chrome for Android: https://bugs.chromium.org/p/chromium/issues/detail?id=181186

02-11-2017 13:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-11-2017 13:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am having the same problem as you, but I've checked, double-checked, and triple-checked, and my URL is the one I found in the personal Intraday Github project (and yes, I did replace YOUR_PROJECT_KEY with my key): https://script.google.com/macros/d/YOUR_PROJECT_KEY/usercallback
This is where I got my script: https://github.com/simonbromberg/googlefitbit.
What might I be doing wrong? I have NO experience with this stuff, and have just followed the directions on Github.

02-11-2017 13:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-11-2017 13:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I found the answer in the issues on Github: https://github.com/simonbromberg/googlefitbit/issues/18
05-23-2017 22:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-23-2017 22:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am using FitBit api to get the data using swift 3. plz help me how to do it.

08-10-2017 16:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-10-2017 16:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can you please have a look at this?
https://community.fitbit.com/t5/Web-API-Development/Invalid-redirect-uri-parameter/m-p/2131419#M7986

01-11-2018 21:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-11-2018 21:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
use encoded url

01-11-2018 21:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-11-2018 21:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
use encoded url for android

01-14-2019 06:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-14-2019 06:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

