Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : Request code was : 0 for basic history api kotlin #51

Open
ummeSuleyath opened this issue May 12, 2020 · 4 comments
Open

Error : Request code was : 0 for basic history api kotlin #51

ummeSuleyath opened this issue May 12, 2020 · 4 comments

Comments

@ummeSuleyath
Copy link

Hi,
I have followed the all the steps to configure this app but every time i get this error and the same steps were followed for different sample apps it seems to work fine except for BasicHistoryApi

E/BasicHistoryApi: There was an error signing into Fit. Check the troubleshooting section of the README
for potential issues.
Request code was: 0
Result code was: 0

@ellasaro
Copy link

ellasaro commented Oct 8, 2020

Found a solution?

@Aurangempire
Copy link

+1

@Dimitri-Kavon-Williams
Copy link

Dimitri-Kavon-Williams commented Oct 13, 2021

For anyone with the a similar issue for me the issue was fixed as I added my google account at test users at the OAuth consent screen.

Step by step in Google Cloud Console:

  1. OAuth consent screen
  2. OAuth user cap
  3. Test users
  4. Click on "Add Users button"
  5. Add active Google account

This link helped me solve the problem. In case it is more complex for someone else !

https://stackoverflow.com/questions/67586876/google-fit-authorization-auth-denied-authorization-cancelled

@teraiyamayurcontact
Copy link

i am also facing same issue. And my project scope is also approved but still facing same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants