Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fitbit Authentication Error: "Sorry, the page is following a different trail"

Hello,

 

Currently I'm integrating Fitbit API in iOS. During authentication getting error page "Sorry, the page is following a different trail" [Error Page Link] when call authorize api "https://www.fitbit.com/oauth2/authorize". I follow all instruction as mentioned on fitbit oauth page. I created app on dev.fitbit.com and setup Demo accordingly.

 

Also I searched this error but not able to find relatable solution.

 

Here is mentioned details which I used for,

Platform: iOS

Swift: 5

OAuth2.0 Library: OAuthSwift 

AuthorizeUrl: "https://www.fitbit.com/oauth2/authorize"

AccessTokenUrl: "https://api.fitbit.com/oauth2/token"

Simulator: Error Page Link

 

Followed all steps properly and let me know if any other details required from my side.

 

Best Answer
0 Votes
3 REPLIES 3

Hi @sunil_openxcell 

 

Just to confirm, when calling the authorize API are you seeing the scopes or fitbit login page, or are you receiving the error message?

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Hello, @Gordon-C 

 

When calling the authorize API first time able to see login page, after login I got this error message. Also, again calling the authorize API then display error page.

 

Sunil

Best Answer
0 Votes

Hi @sunil_openxcell 

 

Would you please private message me your entire authorization URL?   Let me review it to determine there are no problems.

 

Thanks!

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes