"message": "user not authorized to perform that action" while submitting assignment as a student
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2020
05:31 AM
Hi,
While using an access token belonging to a student profile I tried out the submit assignment API.
POST
/api/v1/courses/{courseId}/assignments/{assignmentId}/submissions
The response for the API is
{
"status": "unauthorized",
"errors": [
{
"message": "user not authorized to perform that action"
}
]
}
GET method seems to work fine for the same access token.
Please help.. Thanks in advance