You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python main.py
Traceback (most recent call last):
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\transport.py", line 54, in _request
response.raise_for_status()
File "C:\Users\kubaw\.platformio\penv\lib\site-packages\requests\models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://portalpacjenta.luxmed.pl/PatientPortalMobileAPI/api/token
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\projects\ha-luxmed\main.py", line 6, in <module>
print(luxmed.user())
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\luxmed.py", line 71, in user
return self._transport.get(USER_URL)
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\transport.py", line 97, in get
return self.request('GET', url, **kwargs)
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\transport.py", line 90, in request
self.authenticate()
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\transport.py", line 71, in authenticate
token = self._request('POST', TOKEN_URL, data={
File "c:\users\kubaw\.platformio\penv\src\luxmed\luxmed\transport.py", line 56, in _request
raise LuxMedError.from_response(response) from error
luxmed.errors.LuxMedError: In order to use this app, please update it to the newest version available in the store (code 301)
(penv)
The text was updated successfully, but these errors were encountered:
Hi @przemal
Thanks for your work on this.
Unfortunately this lib no longer works.
Steps to reproduce:
pip install -e git+https://github.com/przemal/luxmed#egg=luxmed
The text was updated successfully, but these errors were encountered: