Hi,
I am trying to send a grade from our tool(LTI 1.3) to Schoology but getting an exception I.e
Unable to complete request: Field value has invalid format: timestamp
Here are the request parameters:-
Sorry, I missed to send a grade info:-
IMSGlobal\LTI\LTI_Grade { -score_given: "67" -score_maximum: 100 -comment: null -activity_progress: "Completed" -grading_progress: "FullyGraded" -timestamp: "2023-10-23T11:01:46Z" -user_id: "127234017::356ef6f48130aa4da5d98a218d1f5b03" -submission_review: null }
Hi @sunnybaya,
I recommend reviewing this guide that will help you get started with troubleshooting this issue further.
Meanwhile, we hope that other community members jump in and share their insights on this.
ParitoshT
Community Moderator
Here is the Assessment and Grade Services (AGS) 2.0 documentation on the format of timestamps to be used when sending grades:
https://www.imsglobal.org/spec/lti-ags/v2p0#example-of-valid-timestamps
It states the following:
Timestamp values MUST be formatted using ISO 8601 with a sub-second precision.
Your timestamps do not seem to include the required millisecond property
Hi,
After correcting the timestamp, I think the invalid format: timestamp exception is gone but getting a null response from Schoology, and the grade is still not updated at Schoology's end.
Hey! Found my way to this thread via Google. If you haven't already figured it out, I was able to see the grade updated on the Schoology end, but Schoology returns a 201 instead of a 204 as suggested by the docs: https://www.imsglobal.org/spec/lti-ags/v2p0#score-publish-service.
In the specs for the API itself, you can see 201 is valid if it's a completely new score being recorded: https://www.imsglobal.org/spec/lti-ags/v2p0/openapi/#/default/Scores.POST.
So you probably have something else going on in terms of not seeing the grade in Schoology. =( What HTTP code response are you getting?