For each loop, to create items in a separate database

Hi!

I'm importing information from a JSON object, and I want to be able to take an array of tags, and add them to a separate database. For example,

I'm trying to import each individual item from the 'types' array into a separate database called tags. I'd like to have them as individual tags that I can later reference and filter by.

So far, I've been able to import all the other information, but when I try to add the types using a For Each Loop, I keep getting the following error:

Here's my current function stack. I've tried so many things, like:

- establishing a variable with an empty array inside and outside of my For Each loop that I've tried to merge the array with, but with no success.

- bulk add records, both inside and outside of the for each loop.

I feel like the solution is simple, but I'm missing something here… Can I please get some assistance?

4 replies