Skip to main content
Question

403 Error on using Docebo api to retrieve certain Course Learning Objects

  • January 27, 2022
  • 6 replies
  • 304 views

I make an api call to get a Learning Object /learn/v1/lo/98 but I’m getting an error as below. Strange thing is that this works when retrieving Learning Objects for other courses so it’s not my permission level which is Superadmin. Are there some permissions that I’m missing?

{ "name": "Forbidden", "message": [ "Permission denied" ], "code": 0, "status": 403 }

6 replies

treedy
Helper I
Forum|alt.badge.img
  • Helper I
  • 34 replies
  • November 7, 2023

Hey @pmorddny, I’m having the same issue here as a Superadmin - curious if you could share if you found a resolution to this?   


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • November 10, 2023

Interested, curious, have either of you tried to see if there is any logic to the denied based on LO type?


treedy
Helper I
Forum|alt.badge.img
  • Helper I
  • 34 replies
  • November 10, 2023

Hey @Bfarkas, here was the response from Docebo helpdesk:  “After review with Tier 2, as a super admin, you need to be enrolled in the courses in order to be able to send the API call, also note in order to properly download SCORM-type training material via API call it needs to be played at least once in your web browser (does not need to be completed, just played once). Since it does not see that you are enrolled and have permission at course level it is sending back the Forbidden 403 Error.” 

We’re in the process moving our LMS into Dayforce Learn (based on an instance of Docebo), and the move from one platform to the other has certainly proven to be a challenge.   


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • November 11, 2023

Wow, that is interesting, I am almost certain I have pulled LO info on things not enrolled in before, but don’t know for sure so won’t disagree. Seems silly.


treedy
Helper I
Forum|alt.badge.img
  • Helper I
  • 34 replies
  • November 14, 2023

Hey @Bfarkas, yes agreed!  Very silly - the other thing I learned is that while you can get the Downloadable link by training material under LO, there is no report that can tell you the training material / learning object ID #s, so you have to go into the course and into each training material one by one to find the ID #s to get the links to download (essentially the same level of manual effort as the Downloadable link by course materials).   That might be the API call you were thinking of under LO?   Docebo is currently quoting us $8,200 CAD to provide the learning objects which does seem steep! 


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • November 14, 2023

Wait, yeah there’s no report, but there is an API call to get those ID’s, its course level unfortunately, but still doable. needed it for the survey stuff….

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings