メインコンテンツまでスキップ

Upload Picture Validation

Validation messages for picture upload requests, covering email, image format, picture file, and sign-up password fields.


Overview

KeyMessageDescription
Email.uploadPictureRequest.emailメールアドレスが無効ですThe email has an invalid format when uploading a picture.
NotBlank.uploadPictureRequest.emailメールアドレスが必要です。The email is empty when uploading a picture.
NotNull.uploadPictureRequest.emailメールアドレスが必要です。The email is null when uploading a picture.
NotNull.uploadPictureRequest.picturePicture is required.No picture file has been selected for upload.
NotBlank.uploadPictureRequest.imageFormatタイプ画像が必要です。The image format has not been provided in the upload request.
Pattern.userSignUpDto.passwordパスワードには、少なくとも1つの大文字、1つの小文字、1つの数字、および1つの特殊文字を含める必要があります。12文字以上である必要があります。The sign-up password does not meet the security requirements.

Validation Message Details

Email.uploadPictureRequest.email

Message

メールアドレスが無効です

Description

The email has an invalid format when uploading a picture.

Root Cause

  • The email address does not follow a valid format.

Resolution

  1. Provide a valid email address in the format [email protected].

NotBlank.uploadPictureRequest.email

Message

メールアドレスが必要です。

Description

The email is empty when uploading a picture.

Root Cause

  • The email field was left blank in the upload request.

Resolution

  1. Provide a valid email address.

NotNull.uploadPictureRequest.email

Message

メールアドレスが必要です。

Description

The email is null when uploading a picture.

Root Cause

  • The email field was not included in the upload request.

Resolution

  1. Provide a valid email address.

NotNull.uploadPictureRequest.picture

Message

Picture is required.

Description

No picture file has been selected for upload.

Root Cause

  • The picture field was not included in the upload request.

Resolution

  1. Attach a picture file to the upload request.

NotBlank.uploadPictureRequest.imageFormat

Message

タイプ画像が必要です。

Description

The image format has not been provided in the upload request.

Root Cause

  • The imageFormat field was left blank or not included in the request.

Resolution

  1. Provide a valid image format (e.g., png, jpg).

Pattern.userSignUpDto.password

Message

パスワードには、少なくとも1つの大文字、1つの小文字、1つの数字、および1つの特殊文字を含める必要があります。12文字以上である必要があります。

Description

The sign-up password does not meet the security requirements.

Root Cause

  • The password is missing one or more of: an uppercase letter, a lowercase letter, a digit, a special character.
  • The password is shorter than 12 characters.

Resolution

  1. Use a password that contains at least one uppercase letter, one lowercase letter, one digit, and one special character, and is at least 12 characters long.