Error in OneRoster assignment creation: "ExistingAssignmentMissing"

Hi all -

We're getting ExistingAssignmentMissing when trying to create some assignments through OneRoster:

{"statusInfoSet":[{"imsx_codeMajor":"failure","imsx_severity":"error","imsx_operationRefIdentifier":"putLineItem","imsx_description":"ExistingAssignmentMissing","imsx_codeMinor":"invalid_data"}]}

Does anyone know what this means?

We're trying to create an assignment, so there's no existing assignment that it would need to reference.

It uses an ID that is not among those returned by the /lineItems endpoint.

That said, it's possible that the ID was used by an old assignment that was deleted at one point.

Answers

  • Bumping….

    @Todd DeSchuiteneer, is this something the team could take a look at?

  • Update: We're still getting this error. There are no Google results for "ExistingAssignmentMissing" except for a question from Archbishop Spalding High School on canvaslms.com and this thread. So, we're blazing a trail. :) (I suppose that's to be expected if this is a Blackbaud-specific error code and hasn't been documented yet.)

    In my first post in this thread, I noted that "it's possible that the ID was used by an old assignment that was deleted at one point." My thought was that this error code may apply in that scenario. However, there's a separate error code for deleted line items, namely:

    LineItemDeleted

    So, I'm curious about the distinction between that and ExistingAssignmentMissing.

    I have a ticket open for another error code. I'll follow suit with this one. If anyone knows what causes this in the meantime, let us know. I'll come back here later too, to avoid creating a DenverCoder9 incident.

  • Blackbaud Customer Support case #: 020758014

    Opened in the SKY Developer Cohort environment (site ID

  • Odd. Before I'd finished writing this comment, the textbox disappeared. I clicked "Post Comment" to see if what I'd written would be posted, intending to edit it afterwards. The button worked, and the content was posted. But now I can't edit it. The edit button shows a loading indicator that never disappears. The textbox for editing your content is never populated.

    Anyway, what I was trying to add was the site ID: 113750. Hopefully that works!

  • Was it Sophocles who wrote, "Many are the world's wonders, but none are so wonderful as IT!"

  • Eric Eskildsen
    edited July 6

    DenverCoder9 has returned. Back in November, I promised to tell you the difference between LineItemDeleted and ExistingAssignmentMissing, if I ever figured it out. Blackbaud was returning ExistingAssignmentMissing when we tried to create certain assignments. "But how could they be missing if they hadn't yet been created?" I asked myself. "Did a teacher delete them in the GUI?" Read on to find out.

    Blackbaud Support helped us with this one. They gave me the following information:

    • LineItemDeleted is obsolete and is no longer active in the code. You shouldn't get that error anymore.
    • ExistingAssignmentMissing means that a line item with this ID was created once upon a time, but "the original assignment details […] are missing or not accessible/returned from the API," to quote support. Why the original assignment details are missing or inaccessible is an open question.

    So, there you have it. If you get ExistingAssignmentMissing when trying to create an assignment, try using a different assignment ID. For reasons unknown, an assignment with that ID exists in Blackbaud's records, but its details are "missing or not accessible."

Categories