Buffer is too small

Hi,

I do export of an a view “$Sent” of mail database using API approach.

I use DXLExportNote to export View. But it returns an error with description “Buffer is too small”.

where the core of problem?