6

I've created this query with a UserId parameter which works nice. I would really like to download those results as an CSV file.

Therefor I click on the provided link on the right hand side of the screen called Download CSV.

The result is:

The webpage cannot be found

http://data.stackexchange.com/stackoverflow/csv/202355?UserId=187606

I expected: A file in CSV format.

It looks like a regression of this bug from 2012

Queries without a parameter work as advertised.

Can this be fixed?

  • Huh. It's not exactly a regression, but still weird. Give me a few minutes. – Tim Stone Jun 18 '14 at 15:56
5

The problem was two-fold, and both issues have been fixed pending a pull and redeploy.

For cached results, the site value in the URL wasn't updated to use the right value, and that would result in a redirect (issue 1).

The redirect didn't bother to include the query string, so redirected requests with required query string parameters would end up failing with that bad request page (issue 2).

  • Thanks! 6-8 hours for the pull and redeploy? At the moment SEDE is at rev 2014.5.23.26.... – rene Jun 18 '14 at 16:36
  • Can't make promises about things not in my control. :P – Tim Stone Jun 18 '14 at 16:36
  • 2
    We keep it on 6-8 units then... – rene Jun 18 '14 at 16:37
2

Since this bug keeps biting occasionally, I'll record a workaround here.

If a query has URL parameters, and you want to download its results:

  1. Run the query
  2. Delete parameters from the URL (? and everything after it)
  3. Click Run Query again.
  4. Click Download CSV

Source: senshin

  • Yes, the fix still hasn't been deployed. :( Think it's at least been merged though. – Tim Stone Dec 29 '14 at 22:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .