Error : Request code was : 0 for basic history api kotlin
ummeSuleyath opened this issue · 4 comments
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
Found a solution?
+1
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:
- OAuth consent screen
- OAuth user cap
- Test users
- Click on "Add Users button"
- Add active Google account
This link helped me solve the problem. In case it is more complex for someone else !
i am also facing same issue. And my project scope is also approved but still facing same issue.