Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42605

TurnitinOC - populate contentreview_item's lasterror column with detailed information

    XMLWordPrintable

    Details

    • 19 status:
      Resolved
    • 12 status:
      Resolved

      Description

      Right now, we're just populating it with info like:
      "Submission returned with ERROR status"

      The responses / callbacks from TII contain information that can be beneficial for troubleshooting, for instance the error_code attribute in the following callback:

      {"owner":"4c1d98e8-3c23-4942-818b-eb02d22150d5","title":"tinySub2.txt","status":"ERROR","id":"afd71620-6103-46e3-89f9-74a3f6340cc2","content_type":"text/plain","page_count":1,"word_count":6,"charact
      er_count":19,"error_code":"TOO_LITTLE_TEXT","created_time":"2019-05-15T16:09:21.485Z"}

      Populate the lasterror column with this information.
      Bryan Holladay if there's a way to get a more user friendly description of the error messages perhaps through another API or such, call let me know

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bbailla2 Brian Baillargeon
                Reporter:
                bbailla2 Brian Baillargeon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code