Hi all!
I have created a custom connector to make a fetch request for an internal rest service that returns an array of objects nested in another object(first image).
I call it in a custom app creating a collection passing the parameters it expects (with ClearCollect(connectorCollection, DataCollection.GetFile(userId, "application/json",{body:"13a0293d-c7de-ed11-a7c6-0022489ede2f"}).Data.Data)). It seems ok because the gallery in Canva gets correctly the data model (image 2).
However, when launched from the model-driven app, it doesn't work, saying, "JSON parsing error, expected 'object' but got 'string'." Does anyone of you have any idea what I can fix?
Thanks!
Alessandro