403 when attempting to access le API endpoints
Chris.C.5932
Posts: 2 🔍
I'm working on an integration with Brightspace to sync course data and eventually completions / grades out to a third party system.
Anything I query on the lp api such as roles or course offerings works fine (version 1.43)
However I consistently get 403 Forbidden errors when trying to access data on the le api
I've ruled out it being an oauth scope issue as I initially received a different error message while missing the required scopes.
Any advice or suggestions on what to look into to resolve this from the Brightspace community would be much appreciated
Anything I query on the lp api such as roles or course offerings works fine (version 1.43)
However I consistently get 403 Forbidden errors when trying to access data on the le api
I've ruled out it being an oauth scope issue as I initially received a different error message while missing the required scopes.
Any advice or suggestions on what to look into to resolve this from the Brightspace community would be much appreciated
Tagged:
Answers
-
I've found with the 403 forbidden errors is trying a different server to use. Such as firefox, google crome, or safari and switching between them to see if they accept it.
-
Hi Chris.C,
The 403 errors are typically an outcome of permission issues with the API Service User you are using to interact with the APIs. See
A couple of things check:
- Status Codes & Oauth2 Scopes associated with the API call you are making
- Role permissions of the API Service User you are using to make the API call
- Typically if you can login to Brightspace with the API Service User account being used to make the call, and can't perform the action in the UI that you're trying to perform using the API you need to amend the role permission(s) for the related tool
I'm sure you've already see this
Hope this helps!