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

Token Request Validation

Validation messages for token creation requests, covering token name and expiry date fields.


Overview

KeyMessageDescription
NotBlank.tokenRequest.tokenNameトークン名には、少なくとも1文字を含める必要があります。トークン名を入力してください。The token name is empty or contains only whitespace.
NotNull.tokenRequest.expiryDate有効期限は必須入力です。有効期限を入力してください。The token expiry date is null.
FutureOrPresent.tokenRequest.expiryDate有効期限の過去日の入力は出来ません。有効期限を再度入力してください。The token expiry date is set to a date in the past.

Validation Message Details

NotBlank.tokenRequest.tokenName

Message

トークン名には、少なくとも1文字を含める必要があります。トークン名を入力してください。

Description

The token name is empty or contains only whitespace.

Root Cause

  • The tokenName field was left blank or contains only spaces.

Resolution

  1. Provide a non-empty token name.

NotNull.tokenRequest.expiryDate

Message

有効期限は必須入力です。有効期限を入力してください。

Description

The token expiry date is null.

Root Cause

  • The expiryDate field was not included in the request.

Resolution

  1. Provide a valid expiry date for the token.

FutureOrPresent.tokenRequest.expiryDate

Message

有効期限の過去日の入力は出来ません。有効期限を再度入力してください。

Description

The token expiry date is set to a date in the past.

Root Cause

  • The provided expiryDate is earlier than today.

Resolution

  1. Set the expiry date to today or a future date.