StackStorm-Exchange / stackstorm-email

E-Mail Actions/Sensors for StackStorm
https://exchange.stackstorm.org/
Apache License 2.0
9 stars 45 forks source link

ValueError: malformed node or string: <_ast.BinOp object at 0x7f4e6ff79908> #43

Open brandon707 opened 3 years ago

brandon707 commented 3 years ago

Hey I'm facing with an error "ValueError: malformed node or string: <_ast.BinOp object at 0x7f4e6ff79908>", is there a more detailed explanation to the error stated?

nzlosh commented 3 years ago

You may be hitting this issue https://github.com/StackStorm/orquesta/issues/186

Check your parameter data types agree with the action meta data definition.

The error reporting from StackStorm should be clearer and actually point to the cause of the error.

jamesdreid commented 3 years ago

I do not have this pack configured on our system but I worked through a similar type of error on the MSExchange pack and it was due to the Exchange lib returning an object for the date string on the email instead of text. The error was similar to what is posted above and indicates the JSON decoder getting receiving the Python object and not text.