pytile: 412 'Precondition Failed'
Describe the bug Tile integration within Home Assistant has not worked for me on two different HASS instances and the HA logs I did not find to be very helpful, so I downloaded pytile and attempted to run examples/test_api.py to test logging in with my username and password.
Upon running examples/test_api.py I get the following error:
INFO:__main__:Error requesting data from tiles/X##############X: 412, message='Precondition Failed', url=URL('https://production.tile-api.com/api/v1/tiles/X##############X')
Note: X##############X is (possibly?) a unique identifier which I redacted just in case, it is 26 characters and begins and ends with a letter with all numbers in between.
To Reproduce Followed the steps in this previously reported Tile issue in the home-assistant repo: https://github.com/home-assistant/core/issues#issuecomment-996165557
Expected behavior Successful login to Tile account
Additional context I am not certain exactly when this stopped working, but it has been at least a few weeks now.
Not sure if it is relevant, but the only thing that has changed on my Tile account in recent weeks as been adding a few new Tiles as well as some Tile Lost and Found Labels that they recently sent me for free. The Lost and Found Labels are a totally passive Tile product that allows someone who finds an item to contact the owner by scanning the QR code on the sticker. The shop up in the Tile app as another tracker but they lack many of the options of an active Tile tracker device. Perhaps these new Tile Lost and Found Labels are causing issues?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 28 (11 by maintainers)
Bumping thread to prevent auto-closure. Issue is still outstanding and pending resolution.
Awesome, looks like it was merged into 2023.4.3 update. Thanks again for your help on this!
Just sent you a QR code back. Thanks again!