hi..i'm tryin to fetch grades of a particular student using this url "{{domain}}/d2l/api/le/{{versionG}}/{{oid}}/grades/values/{{userId}}/ " , but its giving me a 403 which is forbidden, can anyone help me with it…. thank you.
Hello Sathish,
A 403 Forbidden error typically indicates that the server understood the request, but it refuses to authorize it. This status is often returned if the request lacks valid authentication credentials for the target resource or if the client does not have permission to access the requested resource1.
In the context of the Brightspace API, a 403 error could mean a few things:
{{domain}}
{{versionG}}
{{oid}}
{{userId}}
If you’re still experiencing issues, could you please provide more details about the steps you’re taking, any error messages you’re seeing, and the context in which you’re making this API call? This will help us better understand the issue and provide a more accurate solution.
I hope this helps! If you have any other questions, feel free to ask. 😊
Hii… Miguel
i'm trying to fetch students grades and i have all the permissions, but still cant able to fetch the data. Maybe there is some problem with the scope, can you tell me what scope should i use to access the info related to grades
Thank you…✌
https://docs.valence.desire2learn.com/http-scopestable.html# https://docs.valence.desire2learn.com/res/grade.html#get--d2l-api-le-(version)-(orgUnitId)-grades-values-(userId)-
Every documented route (like the above) should include where relevant, a scopes declaration such as: "Oauth2 Scopes: grades:gradevalues:read" from the above page.
Hello! Were you able to figured it out? I am having the same issue. I've tried to specify scope exactly as in the documentation as well as: core:*:* grades:*:*, however still getting the 403.
The URL provided works if you just put it into the browser URL bar when logged in to Brightspace, so my money is on a permissions issue for whatever account you are calling the API with.
Yep, figured it out. Issue was related to defining correct scope and assigning correct permissions to the role account is assigned to. Thank you!
Connect with our Known and Fixed Issue information to learn about improvements made to Brightspace.
Connect with leaders in pedagogy, accessibility, learning experience design and more
The Accessibility category serves as a single point of access to three avenues in Brightspace Community leading to the Accessibility Academy, Accessibility Library and Accessibility Discussions. These avenues offer courses and articles about accessibility to enhance accessibility knowledge and a group of accessibility enthusiasts to stay connected with.
Have questions about how to use Community? Stay tuned with updates, feedback opportunities and more for the Community here!
Connect with and ask questions on how to best use the Brightspace Product to transform the way your users learn!
Connect with product experts to learn more about tools frequently used by Brightspace Developers such as APIs and integrations!
Want to learn more about Brightspace Partners and Integrations? This is the place to be!
Stay up to date with product updates and announcements in this category.
Connect with our release information to learn about monthly improvements and updates to Brightspace.
Learn more about all the upskilling opportunities with courses and resources offered via the Brightspace Learning Center, Brightspace Guided Training and other training opportunities!