Requests directly to <entitytype> are not allowed should not return 500

Oct 16, 2010 at 5:15 PM

Wouldn't a 4xx response code be more appropriate?  These are not server errors.

e.g.

http://transit.cloudapp.net/DevTransitODataService.svc/Arrivals

<message xml:lang="en-US">

Requests directly to directions are not allowed
</message>

Oct 28, 2010 at 11:39 PM

I think your are right. It would be more appropriate, it is just how .Net Data Service returns error by default.

Thanks you for mentioning it.