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
api/states empty #18885
Comments
Means the legacy API user is not part of the admin group. Did you ever change the auth file in Home Assistant and changed groups around? |
Thanks for the reply. I haven't manually modified any of the auth files. What should the Legacy API user look like? Currently is set as follows (this works in 0.82.1): "group_ids": [],
"id": "e1aba709becb4196a27574b0b7816103",
"is_active": true,
"is_owner": false,
"name": "Legacy API password user",
"system_generated": false |
Changing to the following and restarting has resolved the problem {
"group_ids": [
"system-admin"
],
"id": "e1aba709becb4196a27574b0b7816103",
"is_active": true,
"is_owner": false,
"name": "Legacy API password user",
"system_generated": false
} |
hmm, glad you fixed your instance, but I am surprised that the user was not automatically converted, as should have happened. From what version did you upgrade? |
Found the issue and will fix it in 0.83.3 |
Hi Paulus, it was an upgrade from 0.82.1 but it looks like you've tracked it down, Thanks. |
I experienced the same issue going from 0.82.1 to 0.83.3 |
Same issue here. 0.84.2 |
Solution in the linked PR above #18922 |
Home Assistant release with the issue:
83.0/83.1/83.2
Last working Home Assistant release (if known):
82.1
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
API
Description of problem:
After upgrade to 83.x /api/states using api_password returns an empty array "[]". Revert back to 82.1 and it works.
http://homeassistant/api/states?api_password=xxxxx
Log indicates that the request has been served
2018-12-02 06:58:14 INFO (MainThread) [homeassistant.components.http.view] Serving /api/states to 10.29.29.200 (auth: True)
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: