unnest the field before you do the export so that is resembles a flat table (csv, etc). Looks like you have an array_agg(struct(.., ..)) fields (called _headers and data) in your source table, see error, e.g.:
_headers.sourceId AS sourceId, _headers.uid AS uid, _headers.messageId AS messageId
unnest these columns and you should be good to go.