Deployment Request Validation
Validation messages for the deployment request, covering function name format, template selection, file naming, SDK version, and description length.
Overview
| Key | Message | Description |
|---|---|---|
Pattern.deploymentRequestDto.functionName | ファンクション名は小文字と数字のみで構成され、間にハイフンを含めることができます。 | Function name format is invalid: only lowercase letters, numbers, and hyphens are allowed. |
Pattern.deploymentRequestDto.templateFiles.filename | 添付ファイルのファイル名 {0} は無効です。ファイル名には、文字、数字、ドット (.)、ハイフン (-)、およびアンダースコア (_) のみを使用してください。 | The attachment file name {0} contains invalid characters. |
NotEmpty.deploymentRequestDto.functionName | ファンクション名を入力してください。 | The function name field is empty. |
NotNull.deploymentRequestDto.templateLanguageTag | テンプレートが必要です。テンプレートを選択してください。 | The template has not been selected for deployment. |
NotEmpty.deploymentRequestDto.templateFiles | テンプレートファイルが必要です。テンプレートファイルを入力してください。 | Template files have not been provided in the deployment request. |
NotEmpty.deploymentRequestDto.sdkVersion | SDKバージョンが必要です。SDKバージョンを選択してください。 | The SDK version has not been selected. |
Length.deploymentRequestDto.description | 説明の最大長は1024です。 | The description field exceeds the maximum allowed length of 1024 characters. |
Validation Message Details
Pattern.deploymentRequestDto.functionName
Message
ファンクション名は小文字と数字のみで構成され、間にハイフンを含めることができます。
Description
Function name format is invalid: only lowercase letters, numbers, and hyphens are allowed.
Root Cause
- The provided function name contains uppercase letters, spaces, or unsupported special characters.
Resolution
- Use only lowercase letters, numbers, and hyphens.
- Ensure the name does not start or end with a hyphen.
Pattern.deploymentRequestDto.templateFiles.filename
Message
添付ファイルのファイル名 {0} は無効です。ファイル名には、文字、数字、ドット (.)、ハイフン (-)、およびアンダースコア (_) のみを使用してください。
Description
The attachment file name {0} contains invalid characters.
Root Cause
- The file name includes characters outside the allowed set (letters, numbers,
.,-,_).
Resolution
- Rename the file using only letters, numbers, dots (
.), hyphens (-), and underscores (_). - Re-upload after renaming the file.
NotEmpty.deploymentRequestDto.functionName
Message
ファンクション名を入力してください。
Description
The function name field is empty.
Root Cause
- No function name was provided in the deployment request.
Resolution
- Provide a valid function name in the request.
NotNull.deploymentRequestDto.templateLanguageTag
Message
テンプレートが必要です。テンプレートを選択してください。
Description
The template has not been selected for deployment.
Root Cause
- The
templateLanguageTagfield is null or missing from the request.
Resolution
- Select a template before submitting the deployment request.
NotEmpty.deploymentRequestDto.templateFiles
Message
テンプレートファイルが必要です。テンプレートファイルを入力してください。
Description
Template files have not been provided in the deployment request.
Root Cause
- The
templateFilesfield is empty or missing from the request.
Resolution
- Include the required template files in the deployment request.
NotEmpty.deploymentRequestDto.sdkVersion
Message
SDKバージョンが必要です。SDKバージョンを選択してください。
Description
The SDK version has not been selected.
Root Cause
- The
sdkVersionfield is empty or missing from the request.
Resolution
- Select a valid SDK version before submitting the deployment request.
Length.deploymentRequestDto.description
Message
説明の最大長は1024です。
Description
The description field exceeds the maximum allowed length of 1024 characters.
Root Cause
- The provided description is longer than 1024 characters.
Resolution
- Reduce the description to 1024 characters or fewer.