Details
-
Bug
-
Status: Done
-
Minor
-
Resolution: Fixed
-
None
-
None
-
All
-
Small
Description
Stack: INT
Images:
- connectors: 1.24.0
- dataset: 1.52.0-20210827165746
Steps to reproduce:
Given I logged in to data inventory app
And I have an existing S3 connection
When I create a new S3 dataset with an empty CSV file
And I click on autodetect button
Then I have CSV type selected in format field
Obtained :
Then I get an empty file exception
Expected:
Then I have CSV type selected in format field
Details:
The call POST /api/v1/action/execute/dataset?lang=en&action=autoDetect4s3&family=FileIO&type=update returns a 500 error with the message:
{"timestamp":1632133629918,"status":500,"error":"Internal server error","message":"We've encountered a problem. Action execution failed with: Fail to guess the file format, now support csv, excel, avro, parquet format : class java.io.IOException : class java.lang.reflect.InvocationTargetException : null : org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long) : null","path":"/tacokit-proxy/v1/action/execute/dataset"}