-
Notifications
You must be signed in to change notification settings - Fork 16
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
LibreLink error 4 #172
Comments
Hi, Unfortunately there is a GDH user, which accepted the terms of use, but the error occurs again after some hours. We will see. Best regards, Michael |
Hello. Installed yesterday and was greeted by the error 4: solved by accepting the Tou. This step can also be performed from an app or a web service by calling the libreview.io api. Calling the service https://api.libreview.io/auth/continue/tou will fix that (returned status is 0). Just use the token returned by the half-failed login in the Bearer header. You can find more details at this site https://libreview-unofficial.stoplight.io/, in case you don't already know it. Anyway your app solved my issue to get the glucose on the car screen, as all of my Tasker customizations were basically neutralized by android auto. |
Hi @fpalab, Thank you! Regards, Michael |
I went through my notes and I could find this full reply to user/pass login request:
This is a reply for a registered account that needs to (re)accept the tou. This should happen whenever new Terms of Use are reissued, but it only shows when doing a user/pass login. That's why it's so difficult to test it. The key here is data.step.type: its value defines the page to call for acceptance. In this case it is "tou" and thus refers to the url https://api.libreview.io/auth/continue/tou In another case it was "pp" (I think it was for token renewal) and the url becomes In both cases reusing the provided token is mandatory. I assume the old one is invalidated. |
@fpalab thank you very much!!! |
@fpalab Just one more question. Do you also know, if there is an API endpoint to accept the mail invitation? |
@pachi81 I have no idea, I never found something about that. However, something can be inferred from the process. An alternative for those who just wish to read their own glucose on your app, is to use the same account as the LibreLink, and yes it works. Just register yourself for listening on LibreLink and then log in with the Api. Hope it helped a bit. |
@fpalab thank you for your information. But if I can offer the tou, this will help. Thank you for your information. |
@fpalab: Very important! Abbott changed their interface. |
@fpalab: one more question to accept tou. Thank you! |
I'm using Librelink and had some issues in the past couple of days with the data sync.
I found this in the logs:
09-27 23:08:21.024 30338 5065 I GDH.Task.Source.LibreLinkTask: Send request to https://api.libreview.io/llu/auth/login
09-27 23:08:21.439 30338 5065 W GDH.Task.Source.DataSourceTask: Set state for source LIBRELINK: ERROR - Error (4)
A comment on a gist about the LibreLinkUp API pointed me in the right direction.
Apparently the Terms of Use have been updated. I had to log out of the LibreLinkUp App and log back in. Then I had to accept the new terms.
It's been working since then.
Maybe this can be outmated somehow.
The text was updated successfully, but these errors were encountered: