Skip to main content
Triggered when Smartcar encounters an error while attempting to retrieve signal data from a vehicle. This event helps you monitor data availability, understand missing or stale signal data and provide an event to trigger a user action to resolve the issue.

When This Event Fires

The VEHICLE_ERROR event fires when:
  • Smartcar detects an error while retrieving signal data
  • The vehicle manufacturer’s API returns an error
  • The vehicle is offline or unreachable
  • Authentication, permission, or compatibility errors occur
Resolution notifications: When an error condition is resolved (e.g., vehicle comes back online), Smartcar sends another VEHICLE_ERROR event with state set to "RESOLVED". This enables automatic recovery workflows.

Error Categories

Errors are categorized by type and include specific error codes:
Issues with the user’s account with the vehicle manufacturer.
Issues with the vehicle’s connectivity or state.
Issues with signal availability for the specific vehicle.
Issues with granted permissions.

Payload Structure

eventId
string
required
Unique identifier for this event. Use this for idempotency to prevent duplicate processing.
eventType
string
required
Always "VEHICLE_ERROR" for this event type.
vehicleId
string
required
Smartcar vehicle ID for the vehicle this event relates to.
data
object
required
Container for event data.
meta
object
required
Webhook delivery metadata. See Event Reference Overview for complete meta object schema.

Example Payloads

Delivered when an error occurs.

Common Error Scenarios


Processing VEHICLE_ERROR Events

Basic Handler

Best Practices

Monitor both ERROR and RESOLVED states to implement automatic recovery workflows.
Display the user-friendly message to vehicle owners instead of technical error descriptions.
Some errors (ASLEEP, UNREACHABLE) are transient. Implement exponential backoff retries.
A single VEHICLE_ERROR event can contain multiple errors affecting different signals.
When errors occur, show stale data with a clear indication that it’s not current.

Error Resolution Tracking

When an error condition is resolved, Smartcar sends a VEHICLE_ERROR event with state: "RESOLVED":
Automatic recovery: Use state: "RESOLVED" events to automatically resume normal operations without manual intervention.

Next Steps

Error Reference

Complete error code documentation

VEHICLE_STATE Event

Learn about successful signal deliveries

Reliability Best Practices

Implement idempotency and retry handling

Delivery Behavior

Understand retry policies