Skip to content

SDL returns INVALID_DATA result code for SubscribeVehicleData instead of UNSUPPORTED_RESOURCE in case VehicleInfo interface is unavailable #3205

@GetmanetsIrina

Description

@GetmanetsIrina

Bug Report

SDL returns INVALID_DATA result code for SubscribeVehicleData instead of UNSUPPORTED_RESOURCE in case VehicleInfo interface is unavailable

Reproduction Steps

1.HMI and SDL are started
2. HMI responds with {"method":"VehicleInfo.IsReady","code":0,"available":false} to SDL
3. App is registered
4.PTU is performed and provides the permissions for SubscribeVehicleData(gps, speed)
5. App requests SubscribeVehicleData(gps=true)

Expected Behavior

SDL responds with result code UNSUPPORTED_RESOURCE to mobile app

Observed Behavior

SDL responds with result code INVALID_DATA and info "No data in the request"

OS & Version Information
Logs

SDL_and_ATF_logs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions