8.6.1 Details of inner messages
The following table lists and describes examples of inner messages displayed in the sub-messages indicating that the URI template is invalid. If an inner message not listed in this table is displayed, determine the cause of the error based on the contents of the message and then resolve the error.
No. |
Inner message (details when the URI template is invalid) |
---|---|
1 |
|
2 |
Illegal character 'aa....aa' at position bb....bb is not as the start of a name |
3 |
Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name |
4 |
Illegal character 'aa....aa' at position bb....bb is not allowed after a name |
5 |
Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'. |
6 |
Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb' |
7 |
The name 'aa....aa' is declared more than once with different regular expressions |
The description and action corresponding to the example inner messages are as follows:
- Organization of this subsection
-
-
(2) Illegal character 'aa....aa' at position bb....bb is not as the start of a name
-
(3) Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name
-
(4) Illegal character 'aa....aa' at position bb....bb is not allowed after a name
-
(5) Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'.
-
(6) Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb'
-
(7) The name 'aa....aa' is declared more than once with different regular expressions
(1) Invalid syntax for the template expression 'aa....aa'
aa....aa: Expression of the URI template
- Description
-
The URI template has an invalid syntax.
- Action
-
Modify the settings so that the URI template syntax becomes a valid expression.
(2) Illegal character 'aa....aa' at position bb....bb is not as the start of a name
aa....aa: Invalid character
bb....bb: Position of the character
- Description
-
The first character of the template parameter identifier is an invalid character.
- Action
-
Remove the invalid character specified at the beginning of the template parameter identifier.
(3) Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name
aa....aa: Invalid character
bb....bb: Position of the character
- Description
-
An invalid character is specified as a part of the template parameter identifier.
- Action
-
Remove the invalid character specified in the template parameter identifier.
(4) Illegal character 'aa....aa' at position bb....bb is not allowed after a name
aa....aa: Invalid character
bb....bb: Position of the character
- Description
-
An invalid character is specified immediately after the template parameter identifier.
- Action
-
Remove the invalid character specified immediately after the template parameter identifier.
(5) Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'.
aa....aa: Expression of the URI template
- Description
-
The expression of the URI template has an invalid syntax.
- Action
-
Modify the settings so that the URI template syntax becomes a valid expression. Also, check whether the template parameter ends with '}'. If it does not, make sure the template parameter ends with '}'.
(6) Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb'
aa....aa: Normal expression
bb....bb: Identifier
- Description
-
The regular expression for the template parameter has an invalid syntax.
- Action
-
Modify the syntax of the regular expression for the template parameter.
(7) The name 'aa....aa' is declared more than once with different regular expressions
aa....aa: Identifier
- Description
-
Two or more similar identifiers are used in multiple template parameters of the same URI template.
- Action
-
Use specific identifiers for different template parameters in the same URI template.