We are having an issue in this scenario that is causing the activities to keep duplicating in our app.
An Activity that was created on Samsung health (https://play.google.com/store/apps/detailsid=nl.appyhapps.healthsync) gets pushed to Fitbit. Then our app receives a webhook from Fitbit, and we fetch that activity from Fitbit and save it with the LogID.
But what happens then is that we receive another webhook, we again go and fetch the activities and now the same Samsung Health activity (with the same time, distance etc.) has a different LogId so we recognize it as a new activity.
Did you guys know about this issue, what is causing the change ? I don't know how Health App <-> Fitbit works.
Any help would be appreciated. Thank you.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @Zarko2022
Since the duplicate entries are originating from Samsung Health, my suggestion would be to contact them to determine why they are sending us multiple activities that look the same?
Gordon
Best AnswerHi @Gordon-C, thank you for the response.
I think that technically this app (https://play.google.com/store/apps/details?id=nl.appyhapps.healthsync&hl=en&gl=US) that is acting as a "middleware" bethween samsung app and Fitbit, is causing the issue.
Would it be possible to get some logs or some detailed data from server based on user, date and activities for that date ?
To be honest, I am suprised more people aren't complaing about this 🙂 since that middleware app is widely used.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Unfortunately, we are not able to provide that information.