AnsweredAssumed Answered

Query on appropriate return result of submissions API containing Unpublished Assignment ID

Question asked by kit perez on Aug 12, 2019
Latest reply on Aug 12, 2019 by Eric Werth

Hello Canvas Developers,


Good day!


I would like to clarify if the return result of the submissions API with assignment_id parameter containing the ID of an unpublished assignment is correct. For example:




I tried the above status. It is returning an "Invalid assignment ids requested." (Actual behaviour)

I believe however that the assignment ID that I entered is valid, and should return no results (Expected behaviour) as there are no submissions, but the assignment ID I provided in the assignment_ids[] param is valid.

"error": "invalid assignment ids requested"
Looking forward to your point of view.
Thank you and kind regards,