08-22-2024 22:03
08-22-2024 22:03
Hello,
I am currently working on a Flutter-based Android application that collects Fitbit data in the background every day between 12:00 AM and 1:00 AM and sends it to a server. This process works fine on the first and second days, but starting from the third day, I encounter an error: "failed host lookup 'api.fitbit.com'", and the data collection fails.
Additionally, I'm using the http: ^1.1.0 plugin in my project.
Could anyone help me understand why this error is occurring?
Thank you!
08-28-2024 17:20
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.
08-28-2024 17:20
Hi @whwndud
I haven't seen this error before and I didn't see it in our logs. Are you still getting this error message?
Best Answer