Traceback (most recent call last):


 "/opt/stackstorm/st2/lib/python2.7/site-packages/st2common/router.py", line 414, in __call__

resp = func(**kw)


 "/opt/stackstorm/st2/lib/python2.7/site-packages/st2api/controllers/v1/rules.py", line 141, in put

if rule.id is not None and rule.id is not '' and rule.id != rule_ref_or_id:
AttributeError: 'RuleAPI' object has no attribute 'id'


Traceback (most recent call last):

 "/tmp/.root_652ee9_salt/salt-call", line 4, in <module>
salt_call()

 "/tmp/.root_652ee9_salt/salt/scripts.py", line 338, in salt_call
client.run()

 "/tmp/.root_652ee9_salt/salt/cli/call.py", line 53, in run
caller.run()

 "/tmp/.root_652ee9_salt/salt/cli/caller.py", line 134, in run
ret = self.call()

 "/tmp/.root_652ee9_salt/salt/cli/caller.py", line 197, in call
ret['return'] = func(*args, **kwargs)

 "/tmp/.root_652ee9_salt/salt/modules/state.py", line 473, in request
req.update({kwargs.get('name', 'default'): {
AttributeError: 'NoneType' object has no attribute 'update'