I have an issue working with an API which i really would appreciate any assistance with if anyone can help. (its the same one i posted about yesterday, i switched form PHP to Node and the problem disappeared so thinking bug but will come back to that later)
So here is the API schema
So i call the API
which returns data correctly ( i show the images part as I will use this in the post)
This call returns an array of properties owned by a specific landlord
I then perform a repeat based on that array
and insert the property details into a table
This performs as expected inserting records into the table
Within the properties array is a media object
which in turn contains 5 arrays of details relating to photos etc
This is where i hit problems
I need to iterate over the media items within that particular property
So I add a repeat based on the media object within the properties array
(The contents do not appear in the output fields)
I then create another repeat based on the properties.media object
Again, no fields are shown in the output fields
I then want to insert the image details into a table
I then get an error
Although the JSON output (if i remove that last repeat) shows an array of photo objects
I have been battling with this for two days now having tried pretty much every combination of repeat sources
Can anyone offer any suggestions?
Last updated: