-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import from file not working (Windows 10 Pro) #480
Comments
Can you share the file you are trying to upload? You can set fake URLs and API keys |
Added it. |
I have just imported your file as it is, using https://app.shlink.io, and it worked fine I'll try to test from Windows, as I was on Linux. Also, what browser are you using? |
Yep, on windows, using either Google Chrome or Microsoft Edge, it throws the error. I'll need to set-up a dev env in order to debug it, so it may take some time. |
Okay, thanks for approving. |
I found the root cause. The app is expecting provided file to have a I guess I'll change the approach, and try to parse whatever file is provided, without checking the mime type, and then verify the result is a valid list of servers and no error is thrown in the process. |
Perfect, thanks for investigating! |
I have just merged the fix for this. Will be part of v3.2.1 |
Awesome, thanks! |
Shlink web client version
Summary
If I try to import one / several servers from a file it gives the error:
"The servers could not be imported. Make sure the format is correct."
It's a file exported today so it's not outdated and formatted correctly.
On iMac importing from this file works.
Current behavior
Importing form file is not working on Windows 10.
Expected behavior
It should work :)
How to reproduce
Click "Add a server" on home page.
Click "Import from file".
Select the file on your pc.
The error occurs.
shlink-servers.csv
The text was updated successfully, but these errors were encountered: