Permissions error on GET /d2l/api/le/1.83/{orgUnitId}/grades/values/descendants/

Ricardo.S.2629
Ricardo.S.2629 Posts: 2 New Community Member
edited April 16 in Higher Ed / Postsecondary

Hi community, I'm trying to call this new endpoint but I always receive the error 403 "Context user lacks permission to fetch descendant grades in target OrgUnitType."

  • I've tested using various orgUnitId values, including a semester, a course offering, and a section.
  • The OAuth2 application scope grades:gradevalues:read is correctly configured.
  • I'm able to see all grades for al courses on D2L Dashboard.

The environment I'm working on is on the latest version Brightspace Learning Environment v20.25.4.

Do you know if I need an specific permission I'm missing and where I should configure it?

Tagged:

Answers

  • Miguel.B.106
    Miguel.B.106 Posts: 14
    edited April 17

    Hi @Ricardo.S.2629

    Thank you for reaching out to the Brightspace Community!. This looks like an issue related to missing some permissions in the grades tool. Apologies if you have already reviewed this but you may consider checking the following permissions required to retrieve Grades from API calls:

    • See user grade values (API Only)
    • Retrieve Grade Values for Course Offering Descendants (API Only)

    We hope this helps and please feel welcome to reach out with more questions!

    Best regards

    Miguel B.