Hi all,
We are running Dataverse 4.9.4 and facing a file ingestion issue when "certain" csv files are uploaded. Once the CSV files are uploaded the ingestion process begins which ends "unsuccessfully." But the ingestion process apperanetly deforms the files changing them to a faulty tab format while keeping the CSV extension. The files can not then be retreived in the original format as the ingestion phases reshapes them.
For clarification, we are "not" interested to have the files ingested successfully but to have them in Dataverse in the original format (and not the distoreted format).


Thanks @Mahsanas for the report. I'm really interested in learning more about the files not being retrievable in the original format.
If the file is not sensitive, can you attach the file here? Also, if it's not sensitive, can you test on demo.dataverse.org (running 4.14) and see if the behavior is the same? We've worked in the ingest code a bit since 4.9.4.
Lastly, I'll mention that we do have a file uningest API endpoint available (though maybe not in 4.9.4):
http://guides.dataverse.org/en/latest/api/native-api.html#uningest-a-file
@Mahsanas @djbrooke -- the uningest API endpoint was added in 4.9, _API: "uningest" a tabular data file #3766_.
Thanks @mheppler. Time flies!
@djbrooke . I just tested out the files on the demo site and it is working fine there. The files are not ingested and thus not distorted.
It seems the issue belongs to our version of Dataverse and once we upgrade it will be resolved.
Thanks for the uningest option though this is not gonna be a permanent solution as we will see these types of files comming from an instrument to the repository often.
I will upgrade to the latest version.
Thanks all.
OK, thanks for the update @Mahsanas! I'll close this out.
Most helpful comment
Thanks @Mahsanas for the report. I'm really interested in learning more about the files not being retrievable in the original format.
If the file is not sensitive, can you attach the file here? Also, if it's not sensitive, can you test on demo.dataverse.org (running 4.14) and see if the behavior is the same? We've worked in the ingest code a bit since 4.9.4.
Lastly, I'll mention that we do have a file uningest API endpoint available (though maybe not in 4.9.4):
http://guides.dataverse.org/en/latest/api/native-api.html#uningest-a-file