desire2learn - 303 Error when placing Valence call to input a grade value for a grade item for an individual user -


i getting '303 see other' error when i'm placing call provide specific grade value particular user.

put /d2l/api/le/(d2lversion: version)/(d2lid: orgunitid)/grades/(d2lid: gradeobjectid)/values/(d2lid: userid)) 

all values valid (i'd 404 error otherwise). interestingly, call works courses, not others. ideas?

we've used fiddler track request , request in format (replaced sensitive information '...'):

put https://carmen.osu.edu/d2l/api/le/1.0/.../grades/.../values/947067?x_a= ...&x_b=-...&x_d=...&x_c=...&x_t=1374779761  http/1.1 content-type: application/json host: carmen.osu.edu content-length: 44 expect: 100-continue  {"gradeobjecttype":1,"pointsnumerator":30.0}  

the response was:

http/1.1 303 see other cache-control: private content-length: 0 location: /d2l/error/500 server: microsoft-iis/7.5 x-xss-protection: 0 x-powered-by: asp.net date: thu, 25 jul 2013 19:16:40 gmt 

edit: we've discovered if grade value entered, above put calls works fine. gives 303 when grade value @ default value. happens in course (that know of).

this sounds lot known issue grades apis have had in recent past believe has been addressed. fix issue distributed may , june service pack releases. fixed issue resolved , described way:

cases permitted dividing 0 in valence learning framework api grades no longer permitted. issue fixed in learning suite 10.2 service pack 1, learning suite 10.1 service pack 8, learning suite 10 service pack 12 , learning suite 9.4.1 service pack 17.

please verify lms has been updated @ least listed service pack level:

  • if has not, updating service pack level may address issue.

  • if updating not address issue (or lms @ patch level), should open support incident desire2learn's support desk, , characterize incident them possible defect le assessments components. if that, should provide url question on stack support desk knows you've done investigation issue already.

workaround. there workaround issue, may not feasible you, depending upon use case. if enter grade user first through web ui, (if known, fixed issue believe be) updating grade through apis should work -- issue applied when first attempt set grade value performed through api (and, believe, numeric grade types).


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -