2

Only the Votes entity set has this problem.

e.g. https://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>
4
  • 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 Commented Feb 21, 2011 at 6:38
  • So will it be fixed? Commented Feb 27, 2011 at 21:19
  • April 3rd, and still broken... Commented Apr 3, 2011 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
    Commented Jan 10, 2012 at 6:21

1 Answer 1

1

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).

You must log in to answer this question.

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