Insufficient Scopes despite having wildcards.

Jay.A.6583
Jay.A.6583 Posts: 2 🌱
edited March 12 in Higher Ed / Postsecondary

Trying to get course related files via this endpoint: d2l/api/lp/{version}/{orgUnitId}/managefiles/

based on this documentation: https://docs.valence.desire2learn.com/res/course.html#get--d2l-api-lp-(version)-(orgUnitId)-managefiles-

however, getting insufficient scopes despite having scopes set as wildcards:

{ Errors: [ {Message: "Insufficient scope to call API.Required: managefiles:files:read, managefiles:folders:read"} ] }

Tagged:

Answers

  • Hi @Jay.A.6583

    Thank you for reaching out to the Brightspace Community.

    Based on my testing, I was able to successfully run the API call d2l/api/lp/{version}/{orgUnitId}/managefiles/ on our support test site without any issues.

    Given your description, I recommend creating a support case with details of the user role used and the exact API call made so we can investigate further.

    We look forward to hearing from you through the support case.

    Kind regards,
    Shobhit Sachdeva