Upload Picture Validation
Validation messages for picture upload requests, covering email, image format, picture file, and sign-up password fields.
Overview
| Key | Message | Description |
|---|---|---|
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.picture | Picture 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
- 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
emailfield was left blank in the upload request.
Resolution
- Provide a valid email address.
NotNull.uploadPictureRequest.email
Message
メールアドレスが必要です。
Description
The email is null when uploading a picture.
Root Cause
- The
emailfield was not included in the upload request.
Resolution
- Provide a valid email address.
NotNull.uploadPictureRequest.picture
Message
Picture is required.
Description
No picture file has been selected for upload.
Root Cause
- The
picturefield was not included in the upload request.
Resolution
- 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
imageFormatfield was left blank or not included in the request.
Resolution
- 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
- 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.