CSV upload broken

Posted in General by Alex Stanhope Fri Jun 19 2015 06:37:09 GMT+0000 (UTC)·13·Viewed 575 times

I think the CSV upload is broken at the moment. When I upload a valid CSV file I get an error message "File must be a CSV". When I upload the example "redirect-sample.csv" file, I get the same error.
John Greer
June 19, 2015

Hi Alan,

We tested the CSV upload and confirmed it's working properly. Please send your CSV file to support@transportr.io so we can assist you further.

Alex Stanhope
June 19, 2015

Hi John,

I'm Alex. I downloaded your redirect-sample.csv using the link in the app:

http://transportr.io/assets/redirect-sample.csv

That's the file not working for me (as are all my derivatives of it).

Cheers, Alex

John Greer
June 19, 2015

Hi Alex,

We tested this and it's working properly. Are you downloading it and re-saving it using another app such as Excel or Numbers?

Alex Stanhope
June 19, 2015

No, I'm literally just saving it using Chrome to my Windows desktop, then selecting the same file and clicking 'upload'. I also untick 'use target proxy'.

Alex Stanhope
June 19, 2015

Exactly the same behaviour in Firefox. My [client's] shopify store is coldharbourlondon.myshopify.com. Do you want to Skype/Google Hangout to see the behaviour?

John Greer
June 19, 2015

I tested the sample CSV on your account and they uploaded with no errors. Can you please send one of your CSV files to support@transportr.io?

Alex Stanhope
June 19, 2015

I've just sent those through, along with screenshots showing the journey and error.

Alex Stanhope
June 19, 2015

Here's some debugging info for you. My post request (c/o Firebug)

-----------------------------130764261881
Content-Disposition: form-data; name="0"; filename="redirect-sample.csv"
Content-Type: application/octet-stream

path,target
/category/dresses,/collections/dresses
/products/floral-one-shoulder-dress-106187886.php,/product/floral-one-shoulder-dress
/about,/pages/about-us
/blog/,/blogs/myblog

-----------------------------130764261881
Content-Disposition: form-data; name="use_target_proxy"

false
-----------------------------130764261881
Content-Disposition: form-data; name="preview_import"

true
-----------------------------130764261881--

Alex Stanhope
June 19, 2015

And the response:

{
"status": "invalid",
"errors": [],
"redirect_count": 0,
"first_path": null,
"first_target": null,
"use_target_proxy": false
}

Alex Stanhope
June 19, 2015

I tried it from my mac and it works fine. I can upload the redirects from there. I don't understand why it fails from Firefox and Chrome on my PC.

John Greer
June 19, 2015

Do you have any anti-virus or firewall running on your PC? If you do, I'm suspecting that it's modifying the upload content or the headers since it's not working in Chrome or Firefox.

Alex Stanhope
June 19, 2015

I use Avast. I guess it must be messing with it. I'm happy enough using it on my mac.

Alex Stanhope
June 19, 2015

Thanks for helping me get to a resolution.

  
Markdown is allowed