Skip to main content

Plan Create Validation

Validation messages for plan creation requests, covering plan name and description fields.


Overview

KeyMessageDescription
NotBlank.planCreateDto.nameThe 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.descriptionThe 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 name field was left blank or contains only spaces.

Resolution

  1. 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 description field was not included in the request.

Resolution

  1. Provide a description for the plan.