title: GoogelFit sample app BasicHistoryApiKoltin, work on 2 device properly and on Samsung it gives APIException 5000
body: <p>I am currently developing Step counter app, in that I am following Google Sample app.
  Problem is it works properly on my all device except one, On Samsung it gives me API Exception 5000. I have created app on Google Console as well and working fine on other devices.
  Below is the exception. I don't understand why it not working on specific device while on rest of them it works fine.
  I am following below sample :
  <a href="https://github.com/android/fit-samples/tree/main/BasicHistoryApiKotlin" rel="nofollow noreferrer">https://github.com/android/fit-samples/tree/main/BasicHistoryApiKotlin</a></p>
  <p><a href="https://i.stack.imgur.com/TDPUG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TDPUG.jpg" alt="enter image description here" /></a></p>