question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSV: Excel CSV import returns an SYLK file format error

See original GitHub issue

Apparently some versions of MS Excel will throw errors opening our CSV files if the very first characters in the file are “ID” – as it incorrectly assumes they are SYLK files and fails to properly load them.

Reference: https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_win10-mso_o365b/sylk-error-when-opening-csv-files-in-excel/3764f46e-52de-49f2-a77a-21ab9cf84f75

For the time being, I’m setting the “status” of this issue as Won't Fix but I’m willing to discuss and interested in feedback from the community.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
dehallcommented, Nov 6, 2018

According to the following, two possible simple fixes for this are to ensure the file is UTF-8, or rename the field to “Id” instead of “ID”.

https://superuser.com/questions/879802/how-to-disable-sylk-warning-for-csv-files-in-excel

1reaction
shussoncommented, Mar 6, 2019

Of course, if someone wrote some code that was case-sensitive, they’d have to fix it.

@jawalonoski I did 😄

I updated the wiki to reflect this change

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix a CSV with a SYLK File Error in Excel | Journey Bytes
Excel has detected 'file.csv' is a SYLK file, but cannot load it. Either the file has errors or it is not a SYLK...
Read more >
Excel CSV import returns an SYLK file format error - Alun Rowe
Excel has detected that 'balhblah.csv' is an SYLK file, but cannot load it. Either the file has error or it is not a...
Read more >
Techniques to Fix SYLK File Format is Not Valid Error
Quick Solution for Excel CSV File Issue. Also, the error is related to the CSV file, if you are unable to use this...
Read more >
Error 'SYLK: File format is not valid' in Excel - Salesforce Help
To resolve the error: · 1. Open Notepad. · 2. Click File > Open · 3. Set the file format to All Files...
Read more >
Why am I having issues with my CSV file? - Helpshift Support
You will see this message if you have saved the file in a deprecated Excel file format, such as .xls. The error will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found