Getting exception while adding assignments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024
07:47 AM
I'm trying to add the assignment using the API but getting below error,
URL: POST https://xxx.instructure.com/api/v1/courses/891/assignments/1515/submissions
Invalid submission[submission_type] given. I used the below body,
submission[submission_type]:'online_text_entry'
submission[user_id]:311
submission[body]: "",
submission[user_id]:311
submission[body]: "",
I'm passing the lifetime access token to this URL, Could you please help me here? GET API is Woking fine.