Skip to main content

Supported Device Validation

Validation messages for device-related fields, covering the supported flag and device ID.


Overview

KeyMessageDescription
NotNull.supportedDeviceDto.supportedSupported flag must not be null.The supported flag is null.
NotNull.baseDeviceDto.idThe device ID is required. Please provide the device ID.The device ID is null.
Positive.baseDeviceDto.idThe device ID must be greater than 0. Please input a valid ID.The device ID must be greater than 0; the provided value is 0 or less.

Validation Message Details

NotNull.supportedDeviceDto.supported

Message

Supported flag must not be null.

Description

The supported flag is null.

Root Cause

  • The supported field was not included in the request.

Resolution

  1. Provide a boolean value for the supported field.

NotNull.baseDeviceDto.id

Message

The device ID is required. Please provide the device ID.

Description

The device ID is null.

Root Cause

  • The id field was not included in the device request.

Resolution

  1. Provide a valid device ID.

Positive.baseDeviceDto.id

Message

The device ID must be greater than 0. Please input a valid ID.

Description

The device ID must be greater than 0; the provided value is 0 or less.

Root Cause

  • A id value of 0 or a negative number was provided.

Resolution

  1. Enter a device ID greater than 0.