Invocation Request Validation
Validation messages for invocation requests, covering function name, device ID, shot count, processor ID, and description fields.
Overview
| Key | Message | Description |
|---|---|---|
NotBlank.invocationRequest.functionName | The 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.deviceId | The device id must not be null. Please input the device. | The device ID in the invocation request is null. |
Min.invocationRequest.deviceId | The 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.shots | The 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.shots | The 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.processorId | The 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.description | The 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
functionNamefield was not provided or is blank.
Resolution
- 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
deviceIdfield was not included in the request.
Resolution
- 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
deviceIdvalue of 0 or a negative number was provided.
Resolution
- 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
shotsfield was not included in the request.
Resolution
- 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
shotsvalue of 0 or a negative number was provided.
Resolution
- 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
processorIdvalue of 0 or a negative number was provided.
Resolution
- 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
- Reduce the description to 1024 characters or fewer.