Why does Google connect return a google_no_datasource warning?
The google_no_datasource warning means the connected Google account has no devices or health data sources attached, usually because the user picked the wrong…
The google_no_datasource warning means the connected Google account has no devices or health data sources attached, usually because the user picked the wrong account or doesn't use Google Fit. Terra sends it when a Google Fit user connects, and the connection still completes.
Don't deauthenticate the user automatically. Tell them you may not receive data from this account, and if they picked the wrong one, ask them to reconnect with the Google account they use for Google Fit. Use the reference_id in the payload to identify them.
To detect the same wearable account linked to multiple of your users, call the /athlete endpoint and compare the provider_user_id field, which uniquely identifies the underlying account.
Last updated
Was this helpful?