or there’s something I’m not understanding?
I’ve made a custom app, with 2 modules, first module sends data to TensorArt to generate an image, second module retrieves the data of the image generated, everything works correctly, however, in the array of the output, the data it’s stored in [1] as a first option.
This is the output code I use to map the data:
"response": {
"output": {
"job": {
"id": "{{body.job.id}}",
"status": "{{body.job.status}}",
"credits": "{{body.job.credits}}",
"successinfo": {
"images": [{
"id": "{{body.job.successInfo.images[1].id}}",
"url": "{{body.job.successInfo.images[1].url}}",
"width": "{{body.job.successInfo.images[1].meta.image.width}}",
"height": "{{body.job.successInfo.images[1].meta.image.height}}",
"expiredin": "{{body.job.successInfo.images[1].expiredIn}}"
}]
},
"runtime": "{{body.job.successInfo.imageExifMetaMap.runtime}}"
}
}
}
as you can see, I had to put [1], otherwise if I use [0] the output retrieves data as Empty, and I’ve been struggling with this issue for days, also new version of Gemini and ChatGPT both told me it’s unusual that the array doesn’t use [0] as a first option to store the data, this is why I’m asking if it’s a bug or not.
I hope I’ve made myself clear with this info, but in case you need something else to understand, let me know and I will happily provide more data.