@nilan Just wanted to mention here in case its not on your radar. The docs for functions have a page about how to throw an error, which basically says to do something like return { error: "Error message here" }, however that doesnt seem to throw any errors when I try it. Only way I can get it to throw an error is to do it asynchronously by doing cb("error here"). Also, the comments in the in-browser editor reference an input variable in the module.exports function but it looks like its all being passed in a variable called event, not input.