Skip to content

Command failed due to some scope issue #3

Description

@TomerGamerTV

After couple of tests I figured out some commands worked (didn't test everything) but for some god knows what reason when I try to play the fart sound it gives me the issue here:

#2 (comment)

Any way to fix it? I did enable debug logging but there is nothing interesting there... Some issues are because my wifi was weak and the other because I had to wake up my car/testing some commands.

[homeassistant.components.tesla_fleet] Finished fetching Tesla Fleet Vehicle data in 0.619 seconds (success: True)
2025-09-21 00:19:22.831 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139986289501152] Error during service call to button.press: Command failed: The vehicle is not 'online'.
2025-09-21 00:26:41.243 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Finished fetching Tesla Fleet Vehicle data in 0.471 seconds (success: True)
2025-09-21 00:36:41.324 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Finished fetching Tesla Fleet Vehicle data in 0.551 seconds (success: True)
2025-09-21 00:39:48.136 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Command result: {'response': {'result': True, 'reason': ''}}
2025-09-21 00:41:49.022 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Command result: {'response': {'result': True, 'reason': ''}}
2025-09-21 00:42:07.167 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139986286765664] Error during service call to button.press: Command failed: Access to this resource is not authorized, developers should check required Scope.
2025-09-21 00:42:12.797 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Command result: {'response': {'result': True, 'reason': ''}}
2025-09-21 00:42:31.323 DEBUG (MainThread) [homeassistant.components.tesla_fleet] Command result: {'response': {'result': True, 'reason': ''}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions