Skip to main content

Invocation Request Validation

Validation messages for invocation requests, covering function name, device ID, shot count, processor ID, and description fields.


Overview

KeyMessageDescription
NotBlank.invocationRequest.functionNameThe function name must not be null, empty or whitespace. Please input the function name.The function name in the invocation request is null, empty, or whitespace.
NotNull.invocationRequest.deviceIdThe device id must not be null. Please input the device.The device ID in the invocation request is null.
Min.invocationRequest.deviceIdThe device id must be at least 1. Please input a validate device id.The device ID must be at least 1; the provided value is less than 1.
NotNull.invocationRequest.shotsThe number of shots must not be null. Please input the number of shots.The number of shots in the invocation request is null.
Min.invocationRequest.shotsThe number of shots must not be at least 1. Please input a valid number of shots.The number of shots must be at least 1; the provided value is less than 1.
Min.invocationRequest.processorIdThe processor id must be at least 1. Please input a valid processor id.The processor ID must be at least 1; the provided value is less than 1.
Size.invocationRequest.descriptionThe description must be between 0 and 1024 characters long. Please input the description again.The invocation description exceeds the 1024 character limit.

Validation Message Details

NotBlank.invocationRequest.functionName

Message

The function name must not be null, empty or whitespace. Please input the function name.

Description

The function name in the invocation request is null, empty, or whitespace.

Root Cause

  • The functionName field was not provided or is blank.

Resolution

  1. Provide a valid function name in the invocation request.

NotNull.invocationRequest.deviceId

Message

The device id must not be null. Please input the device.

Description

The device ID in the invocation request is null.

Root Cause

  • The deviceId field was not included in the request.

Resolution

  1. Provide a valid device ID.

Min.invocationRequest.deviceId

Message

The device id must be at least 1. Please input a validate device id.

Description

The device ID must be at least 1; the provided value is less than 1.

Root Cause

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

Resolution

  1. Enter a device ID value of at least 1.

NotNull.invocationRequest.shots

Message

The number of shots must not be null. Please input the number of shots.

Description

The number of shots in the invocation request is null.

Root Cause

  • The shots field was not included in the request.

Resolution

  1. Provide a valid number of shots.

Min.invocationRequest.shots

Message

The number of shots must not be at least 1. Please input a valid number of shots.

Description

The number of shots must be at least 1; the provided value is less than 1.

Root Cause

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

Resolution

  1. Enter a shots value of at least 1.

Min.invocationRequest.processorId

Message

The processor id must be at least 1. Please input a valid processor id.

Description

The processor ID must be at least 1; the provided value is less than 1.

Root Cause

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

Resolution

  1. Enter a processor ID value of at least 1.

Size.invocationRequest.description

Message

The description must be between 0 and 1024 characters long. Please input the description again.

Description

The invocation description exceeds the 1024 character limit.

Root Cause

  • The provided description is longer than 1024 characters.

Resolution

  1. Reduce the description to 1024 characters or fewer.