Can't send JSON from Server Connect to external API

I got array with repeated data in Server action and I need to send it for external API .
But I receive only empty array as result.



Perhaps I am describing the JSON structure incorrectly, or do I need to process records somehow in a loop?

Community Page
Last updated: