Skip to content

2026 RAV4 - 500 Internal Server Error when executing remote commands #192

Description

@logans5051

Integration Version: 2.7.0
Vehicle: 2026 RAV4 Hybrid Limited

What happened:
Attempted to set up a script to remote start the RAV4 through home assistant. Got the script set up, and once I tried to execute it, I received this error:

Failed to perform the action script/start_toyota_rav4. 500, message='Internal Server Error', url='https://onecdn.telematicsct.com/oneapi/v1/global/remote/command'

At this time I realized locking/unlocking wasn't working and it wasn't getting the current status of the car.

If this helps, I attempted to packet capture a command on the Toyota App to see if I could find any differences in the API call. What I found was it seemed to point to a different API url and additional headers were being added to the request. (this was a unlock door request):

POST /graphql HTTP/1.1
Host: oa-api.telematicsct.com

X-APOLLO-OPERATION-NAME: SendRemoteCommand
X-APOLLO-OPERATION-TYPE: mutation

And the request body looked like this:

{
  "operationName": "SendRemoteCommand",
  "query": "mutation SendRemoteCommand($command: String!, $autoFixCommands: [String]!, $minimumElectricSupply: String) { executeRemoteCommand( commandInputBody: {command: $command, autofixCommands: $autoFixCommands, minimumElectricSupply: $minimumElectricSupply} ) { __typename payload { __typename requestNo correlationId returnCode } status { __typename messages { __typename responseCode description detailedDescription } } } }",
  "variables": {
    "autoFixCommands": [],
    "command": "door-unlock",
    "minimumElectricSupply": null
  }
}

I hope this helps in troubleshooting, I'm not sure I'll be able to capture any more packets as the certificate/proxy being used to capture the packets stopped working with Toyota and Google services after a few minutes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions