AnsweredAssumed Answered

Creating an attempt on a column without associated content

Question asked by ji0079770 on Jul 9, 2019
Latest reply on Jul 18, 2019 by Peter Love



Recently we are facing some issues with the Attempts API. In particular, we the API allows to create a new column not associated with any course content (actually, the "contentId" field is ready only), using the /api/public/v2/courses/{courseId}/gradebook/columns endpoint, but for some reason (well, due to an internal validation), we get the following error when creating an attempt on that column:

[ERROR] Error Id: 2514c38f9aef4c9797fa036682b3bf85 - java.lang.IllegalArgumentException: Course content not found
at blackboard.webapps.gradebook.publicapi.v1.ColumnContentValidatorPubV1.validateCanCreateOrUpdateAttemptColumn(
at blackboard.webapps.gradebook.publicapi.v1.ColumnContentValidatorPubV1.validateCanCreateAttempt(
at blackboard.webapps.gradebook.publicapi.v2.ColumnAttemptsRestServicePubV2.createColumnAttempt(


which is obviously wronly validated, as the content ID is always null (it's a readonly field at column creation time). What are we missing here? I guess it's an API issue. What do you think?