diff --git a/node/gateway/application/interpreter/reader.go b/node/gateway/application/interpreter/reader.go index c69c3e350feabcba9739df531417502251936cad..fdb9c1fe3661a68c30332524408db2b023c17351 100644 --- a/node/gateway/application/interpreter/reader.go +++ b/node/gateway/application/interpreter/reader.go @@ -49,6 +49,12 @@ func (r *_BodyReader) Read(variables *Variables) string { func find(node *reflect.Value, path []string) string { if len(path) == 0 { + if !node.IsValid(){ + return "" + } + if node.IsNil(){ + return "" + } return fmt.Sprint(node.Interface()) }