xlsx is crashed after upload but csv is fine
See original GitHub issueFor xlsx file, after I upload, the file size increase from 16kb to 24kb, and pop up error when I try to open it
Excel cannot open the file ’xxxx.xlsx’ because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
For csv file, the file size does not change and csv files are able to be opened.
Anyone has any thought?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
CSV causes Excel to crash
In Excel 2010, user happily working on several .xls & xlsx files, but when she loads a .CSV from any source Excel kind...
Read more >Pandas cannot open an Excel (.xlsx) file
The latest version of Pandas supports xlsx files. I had this error on 1.1.4 and after upgrading to 1.3.5 pip install --upgrade pandas....
Read more >XLSX to CSV , incomplete conversion
I have a set of excel files that are being delivered to an SFTP folder. It is a very simple process where the...
Read more >I have trouble opening CSV files with Microsoft Excel. Is ...
There are Three Solutions · Change the CSV file extension to TXT (when you open a TXT file with Excel it will start...
Read more >How to read large excel xlsx files in Uipath - Studio
Hope you have a clear idea on how to solve the issue. After reading the excel .xlsx file If I want to write...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I figured it out yesterday. Forgot to add multipart/form-data in Binary Media Types for api gateway. It is my fault. Thank you for your help.
I just tested uploading a ~33 KB
.xlsx
file with the Apollo upload examples app and GraphQL API, and it works perfectly fine.I’m not sure what your problem is, but there is something problematic about your particular project code, dependencies, or environment. As previously mentioned, AWS Lambda is not specifically supported by this project as it doesn’t properly support streaming multipart requests.
If you want to persevere, try a process of elimination. Use the browser network inspector to make sure that the client is sending a valid GraphQL multipart request. Try using a regular Apollo Server instead of the Lambda version, etc.
Whatever you find the problem to be, share it here! I’m interested to hear the answer.