"message": "user not authorized to perform that action" while submitting assignment as a student

AkhilKrishnan
Community Member

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
Labels (1)
0 Likes