Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Only the Votes entity set has this problem.


500 server error

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<error xmlns="">
  <message xml:lang="en-US">An error occurred while processing this request.</message>
    <message>The 'VoteTypeId' property on 'Vote' could not be set to a 'Byte' value. You must set this property to a non-null value of type 'Int32'. </message>
    <stacktrace>   at System.Data.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)&#xD;
   at System.Data.Common.Internal.Materialization.Shaper.GetPropertyValueWithErrorHandling[TProperty](Int32 ordinal, String propertyName, String typeName)&#xD;
   at lambda_method(Closure , Shaper )&#xD;
   at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)&#xD;
   at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()&#xD;
   at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)&#xD;
   at System.Data.Services.DataService`1.HandleRequest()</stacktrace>
share|improve this question
Surprised nobody had reported this error just because it was not stopping any functionality from working (I assume). This error has been there from atleast past 2-3 weeks – Sachin Shanbhag Feb 21 '11 at 6:38
So will it be fixed? – John Spurlock Feb 27 '11 at 21:19
April 3rd, and still broken... – John Spurlock Apr 3 '11 at 15:34
somebody needs to take ownership of the odata piece, we see very little value investing time there as our api is tons more useful – waffles Jan 10 '12 at 6:21

Votes and VoteTypes, actually. As waffles mentioned, consuming the API seems much more useful and sane than using odata, but since this was easy enough to address I fixed it anyway (pending pull and deploy).

share|improve this answer

You must log in to answer this question.

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