apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.56k stars 1.17k forks source link

Inconsistent error messages for entity names with illegal characters #916

Closed mdeuser closed 8 years ago

mdeuser commented 8 years ago

Environment details:

Step 2

Step 2.  `...name 'bad+name' contains illegal characters`

Step 4

Step 4.  `...name 'bad+trigname' contains illegal characters

Provide the actual results and outputs:

Step 4.

The request content was malformed:
entity name malformed

These error messages come from the Whisk server and are not generated by the wsk CLI. It's unclear what entity name was malformed as this command requires several names.

rabbah commented 8 years ago

Related to #239 and #385 (both of which are closed but this issue is not resolved).

kurtismgit commented 8 years ago

I'm hitting the same error if I try to create a rule where the action is in a package.

$wsk rule create --enable nlcTrainingRule nlcTrainingTrigger cloudbot/nlcTrainer error: The request content was malformed: entity name malformed (code 1015467)

I'm able to create the rule if the action is not in a package.

mdeuser commented 8 years ago

@kurtismgit Refer to #239 which describes your issue exactly.

rabbah commented 8 years ago

Closing as duplicate of #239.