I'm trying to XOG Out some custom object instances, and in a few of them (it works properly for most instances) I am getting a fatal error: "SQL Exception with error code : 1427" (single-row subquery returns more than one row)
I haven't found any significant differences between the instances that work and the ones that don't. I thought it could be due to audit trails, but after deactivating it for both the custom object and it's subobjects, the problem still persists.
I don't know if it's relevant but I added the tag to include attached documents <args name="documentLocation" value="path"> as I need to read them (it throws the same error when I don't include it anyways).
At this point I am totally out of ideas, any help would be really appreciated.