Hi, in order to make code more readable and importable it is important to surround your code with three backticks
```
like this
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
Also add debug nodes to all outputs of the exec node, set them to show Complete Message and give them names so you can identify them in the debug pane. Probably there will be a useful error message in one of those.