Permission or Bad EndPoint?

JackThor
Community Member

Hello,

I am a programmer recently assigned to support canvas and I am using Post Man to test out the API and I am encountering an issue with the search all API endpoint. The end point I am using is this, /api/v1/search/all_courses?public_only=1&per_page=100 and I am getting a unauthorized error, 

{
    "status": "unauthorized",
    "errors": [
        {
            "message": "user not authorized to perform that action"
        }
    ]
}
 
any ideas on what the issue can be? I talked to my Admin and they said they don't see any API specific permission. So I was wondering am I calling the API end point incorrectly? Or do I need elevated permission unrelated to the API? The reason I am thinking this is because while I was playing with the API end point for courses setting there were some courses that I could not get or update. 
 
Any help, or direction would be appreciated.  

 

0 Likes