Hello,
Rule Machine is throwing the following error when I run a specific rule via HTTP:
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: ruleMachineV.getLabelById() is applicable for argument types: (java.lang.String) values: [879] (getLabelById)
When I run the same rule from the UI the error is not thrown - the rule completes successfully.
Here is the URL I am hitting when the error fails:
http://{{hubitatUrl}}/apps/api/849/trigger/runRuleAct=879?access_token={{accessToken}}
I am getting the following response (in addition to the error above being thrown):
{"response":"Triggered Action: runRuleAct on 879:null"}
I've included a screenshot of the rule below. The hassioHubitatIntegratorUrl is defined in the hub variables, I am just not sharing it since it is a publicly accessible URL and also since the rule runs fine from the UI. This can be reproduced with any URL. I am on a C-7 hub.
What can I do to prevent this from happening?
Thank you!
Zeev
Please provide your hub model (C7, C8, etc.) and its platform version from Settings>Hub Details.
Check out the following post for help troubleshooting problems and gathering details that will help others to identify and solve the problem you are experiencing: ‼ READ FIRST - Before Posting in Get Help