Create assignment API creating duplicates

Jump to solution
walter_yuan
Community Novice

The create assignment API

POST /api/v1/courses/:course_id/assignments

 

seems to create two duplicate assignments (instead of one) every time I call it. Has anyone else experienced this or can anyone help with this?

Labels (2)
0 Likes
1 Solution
walter_yuan
Community Novice
Author

Thanks for the quick response! We have figured it out. It turns out we had implemented a retry system on any response that wasn't a 200. Creating an assignment actually returns a 201 so that triggered a retry in our system. We just amended it to accept any 2xx response as working.

View solution in original post

0 Likes