Plan Create Validation
Validation messages for plan creation requests, covering plan name and description fields.
Overview
| Key | Message | Description |
|---|---|---|
NotBlank.planCreateDto.name | The plan name can't be empty or consist only of whitespace. Please enter a valid name for the plan. | The plan name is empty or contains only whitespace. |
NotNull.planCreateDto.description | The plan description is required and can't be empty. Please provide a detailed description of the plan. | The plan description is null. |
Validation Message Details
NotBlank.planCreateDto.name
Message
The plan name can't be empty or consist only of whitespace. Please enter a valid name for the plan.
Description
The plan name is empty or contains only whitespace.
Root Cause
- The
namefield was left blank or contains only spaces.
Resolution
- Provide a non-empty plan name.
NotNull.planCreateDto.description
Message
The plan description is required and can't be empty. Please provide a detailed description of the plan.
Description
The plan description is null.
Root Cause
- The
descriptionfield was not included in the request.
Resolution
- Provide a description for the plan.