Closed deviantintegral closed 2 years ago
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (xbox
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
xbox documentation xbox source (message by IssueLinks)
This is still an issue in 2021.12.0b4.
Same here!
I've started experiencing this error too, and I don't use Nabu Casa.
No improvements so far.
If I had to guess, the team at Nabu Casa are operating a proxy to allow for OAuth to work easily and that this is used regardless of a subscription to their service.
A simple GET to https://account-link.nabucasa.com/refresh_token/xbox gives me a 404. That could be expected, if they are returning all 403s as 404s to mask what paths exist and don't exist.
A 400 would indicate that something is wrong with the integration, but it doesn't look like there's an easy way to get the request logged to investigate: https://github.com/NabuCasa/hass-nabucasa/blob/f48664aa1ecaac73986b38dc8c0e7a97ab1e99eb/hass_nabucasa/account_link.py#L105-L115
It would certainly be faster if someone at Nabu Casa could check the server logs and see if that says why it's being rejected.
Has anyone tried removing and re-adding the integration?
Can confirm this is still an issue in 2022.2.0. Things that did not help:
Other functions besides turning the console on are working as expected.
This actually might be the problem on the Xbox side, because my Xbox Android app does not turn on the console too.
I re-added the integration yesterday and it seemed to work. Anyone else?
Was fixed for me when Brunt was fixed
The problem
The Xbox integration is throwing this error when starting up:
What's unclear is if this a 400 being issued by Nabu Casa, or a 400 from the Xbox API being passed through. If this is some issue related to credentials, the integration isn't offering me a chance to reauthenticate.
What version of Home Assistant Core has the issue?
core-2021.11.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Xbox
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xbox
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response