ibm-cloud-infrastructurevirtual-server

Softlayer Virtual Guest - Invalid value provided for tags


I am setting the tag value for a Virtual Guest with the following method

vs_object.setTags

I am setting the tag value with ( ) in it. And its giving error that

XMLRPC::FaultException: Invalid value provided for 'tags'. Invalid tag names:Key:121 software (sd log) 

When I remove the curly bracket the set tag method works. Please let me know which all special characters are not allowed while setting the tag. This link did not provide much information about the allowed characters in tags


Solution

  • Here there is information about allowed values in tags call API method SoftLayer_Virtual_Guest/setTags.json failed due to 'Invalid tag names'

    the characters permitted are A-Z, 0-9, whitespace, _ (underscore), - (hypen), . (period), and : (colon),

    You can also review Softlayer : tagging device to know more about tags