This has been solved in PMs after investigating Cloud logs
In case it helps someone in the future: It was a runtime data source with cardinality 1 where we used Create object without checking the Replace existing objects checkbox or deleting the object at the end of an iteration). Not sure why it worked in Dev.