Hi user1 looks like u're having a bit of trouble with that rest api data copy in fabric, mon ami ...
that 'invalid data while decoding' error usually pops up when the copy activity gets confused by the json structure. since postman works but fabric doesn't, it's probably how fabric's parser handles those arrays u mentioned. try adding explicit json format settings in your copy activity source. u can force it to treat the response as json document even if the structure is weird. https://learn.microsoft.com/en-us/azure/data-factory/format-json
also check if u can modify the rest api call to return simpler json. sometimes adding '$top=10' parameter helps test with smaller data chunks. fabric can be picky about nested arrays )) when dealing with messy json, always validate the structure first. u can use online json validators or postman's pretty print to spot irregularities. worth looking into. check the http headers in postman that work and replicate them exactly in fabric. sometimes missing 'accept: application/json' header causes these parser errors.
merci for bringing this to the q&a! let us know if those nested arrays are still causing trouble ) maybe we can suggest more tricks % )
Best regards,
Alex
and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer