Issue Creating rule

i am moving all my automations from WebCore to Rules. i know this one is totally do-able with the app, but being simple is a good place to start. i have reviewed many examples and just cannot see where the error is.

I’ve been staring at that for ages and then it suddenly dawned on me. Try …

"arguments": [
    {
         "integer": 20
    }
]

It would help if the payload examples in the API reference were a) actually in JSON, and b) correct. This particular issue was raised an awful long time ago.

The ‘target’ in the error message equates to a JSON ‘property name’ (or ‘key’ as I tend to call it). So an ‘unknown target’ does point towards a missing key.

2 Likes

Thanks @orangebucket !!! that was indeed the solution. now on to more complex Rules :wink:

thanks again

1 Like