Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

failed host lookup 'api.fitbit.com' error

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!

Best Answer
0 Votes
0 REPLIES 0