Something is messed up with the Data Explorer and how it is resolving URLs.

Currently, URLs like this http://odata.stackexchange.com/stackoverflow/q/1928 all end up at the Page Not Found page with this as the redirected URL: https://data.stackexchange.com/stackoverflow/query/System.Collections.Generic.List%601[System.Int32]

It seems to be related to /q/[id] format not getting properly expanded to /query/[id]?

In particular, all the links on this question are broken.

After additional investigation, this URL gives a runtime error.

I found this out when trying to get to the first query linked to in this post by replacing the /q/ with /query/.

I'm not sure, but the issues seem to be related. (or possibly errors just are not being handled well.)

  • fixed now ... sorry about that
    – waffles
    Commented Jan 13, 2012 at 23:11

1 Answer 1


The redirect issue was due to a missing .First() call that waffles has now taken care of.

Just replacing the /q/ with /query/ isn't how that redirection works, which is why you received an error when you tried to transform the URL manually (the ID you specified is invalid for the new URL form). That should be handled more gracefully than with a server error page though, so I've put out a change to return the 404 page instead if the ID was invalid. If it gets pulled, you'll see Edgar F. Codd instead of the ugly internal error page.

You must log in to answer this question.

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