Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when pulling blood pressure data #62

Open
mpgxvii opened this issue Feb 13, 2024 · 2 comments
Open

Error when pulling blood pressure data #62

mpgxvii opened this issue Feb 13, 2024 · 2 comments

Comments

@mpgxvii
Copy link
Member

mpgxvii commented Feb 13, 2024

Request fails when trying to backfill blood pressure data. Error logs:

Last messages accounting for this alert:
2024-01-23T15:40:01.772Z  ::  stdout  ::  [2024-01-23 15:40:01,771] WARN  - Error making request https://healthapi.garmin.com/wellness-api/rest/backfill/bloodPressures?summaryStartTimeInSeconds=1700784000&summaryEndTimeInSeconds=1700819304. (BackfillService.kt:126)
[2024-01-23 15:40:01,771] WARN  - Error making request https://healthapi.garmin.com/wellness-api/rest/backfill/bloodPressures?summaryStartTimeInSeconds=1700784000&summaryEndTimeInSeconds=1700819304. (BackfillService.kt:126)
Response{protocol=h2, code=400, message=, url=https://healthapi.garmin.com/wellness-api/rest/backfill/bloodPressures?summaryStartTimeInSeconds=1706745600&summaryEndTimeInSeconds=1706798995} (GarminRequestGenerator.kt:156)
@yatharthranjan
Copy link
Member

Yes, the garmin rep contacted us for this. It was due to disabled Backfill endpoint on the Garmin dev portal (not sure how it got disabled). Also, there is a message in the response (at least I can see in the garmin portal) but the logs here don't show any message. I will add a couple of issues to fix that and to ensure this is handled better in the future.

@mpgxvii
Copy link
Member Author

mpgxvii commented Nov 4, 2024

Oh okay thank you. Yes I thought it was an issue with the base URL so I added this fix: #63 and didn't realise it was disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants