What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Only the Votes entity set has this problem.

e.g. http://data.stackexchange.com/stackoverflow/atom/Votes

500 server error

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  <code></code>
  <message xml:lang="en-US">An error occurred while processing this request.</message>
  <innererror>
    <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>
    <type>System.InvalidOperationException</type>
    <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>
  </innererror>
</error>
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
add comment

1 Answer

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
add comment

You must log in to answer this question.

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