Actions problems with NodeJS

MacOSX - Cloud NodeJS Docker

I am having difficulty reproducing actions that work fine on other PHP sites
One action that doesn’t work is this:

And this is the result
Schermata 2021-10-05 alle 10.26.47

With the same settings a PHP site gives me this result:
Schermata 2021-10-05 alle 10.31.29

I also have some other actions that still report problems
Maybe I am blatantly wrong?

does anyone know how to fix this?

Assuming this happens only when the array is empty, one way I fix this is adding a condition before the repeat to check the post variable isn’t empty i’m not sure if there’s better ways.

The problem is this
“Repeater data is not an array or object”

I so far have only had this error trying to send a empty array into a repeat,

The top repeat produces the same error you are getting, the one with a condition will only run if the array has a value and completes

Maybe the error is not caused by a empty array in your case I also don’t know if there is a nicer way to stop the error but for me this works

And how did you submit $_POST.record ?

How does your forms looks like? Does it record fields have brackets to indicate multiple values?

I don’t know if I understood correctly
These are the steo of the action

Schermata 2021-10-05 alle 19.36.22

Sorry I entered the screenshots in reverse order
This is the database