Closed e-gineer closed 6 months ago
The error message is misleading. This is a bug that is now fixed: https://github.com/turbot/pipe-fittings/commit/66dd47bfcfa6942fbda9da4ba1c45d9b481c9259
The real error is:
xpected nil, but got: perr.ErrorModel{Instance:"fperr_co1p23sbajf6a6bm9q3g", ID:"", Type:"error_internal", Title:"Internal Error", Status:500, Detail:"Failed to decode mod: Call to unknown function: There is no function named \"len\". Did you mean \"log\"?\n(/Users/victorhadianto/z-development/turbot/pipe-fittings/tests/flowpipe_mod_tests/input_step_with_loop/mod.fp:58,61-64)", ValidationErrors:[]*perr.ErrorDetailModel(nil)}
The error message fix will be released as part of v0.4.3.
Version: v0.4.2
I'm trying to do use loop.index inside a loop of an input step, but am getting a parse error.
Code:
Error: