Problem description
The <Key> element in the object tag contains invalid characters.
Causes
The tag key includes one or more characters that OSS does not allow.
Examples
None
Solutions
A tag key (<Key>) can contain only the following characters:
Letters:
a–z,A–ZDigits:
0–9Spaces
Special characters:
+-=._:/
Any other character — such as !, @, #, $, %, ^, &, *, (, ), ? — causes this error.
Fix your tag key
Check your tag key against the list above and remove or replace any disallowed character.
Examples of valid tag keys:
| Tag key | Valid |
|---|---|
env | Yes |
project-name | Yes |
cost_center | Yes |
deploy:version | Yes |
Examples of invalid tag keys:
| Tag key | Invalid character |
|---|---|
my!key | ! |
env@prod | @ |
cost (center) | ( ) |
References
该文章对您有帮助吗?