Issues with 404 error on ILT courses as Soon as a session is added.

  • 3 November 2023
  • 7 replies
  • 40 views

Userlevel 1

Good morning everyone, I hope you are well. 

 

I am new to Docebo and I am encountering an issue I can’t seem to get past.

 

I have created a ILT course, enabled users the ability to change sessions, when I preview the course without sessions added it will take me to the course page and will display the option to enrol but states there’s no sessions ( I knew this would be the case as I haven’t added them yet) however as soon as I add a course session, instead of taking me to the page I get a 404 error, Please see below. 

 

What do we think I might have done wrong ? 

 

I have tried to clear the cache, delete the course and start again but still encounter the same issue.

 

Failed to load resource: the server responded with a status of 404 ()
2223.3a121218b8664a5a.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'filter')
    at ci (3272.f2348c2ab8460fc1.js:1:5253741)
    at Object.next (3272.f2348c2ab8460fc1.js:1:6137636)
    at m.next (7559.3f9253caa0cc0919.js:1:7497)
    at A._next (7559.3f9253caa0cc0919.js:1:7181)
    at A.next (7559.3f9253caa0cc0919.js:1:6876)
    at _.onFinalize (7284.3040489cf0b927e8.js:1:9679)
    at _.unsubscribe (7559.3f9253caa0cc0919.js:1:15649)
    at _._complete (7559.3f9253caa0cc0919.js:1:15455)
    at _.complete (7559.3f9253caa0cc0919.js:1:7053)
    at C (7559.3f9253caa0cc0919.js:1:27084)


7 replies

Userlevel 7
Badge +1

@Kieran Wilson how do you access the course? Do you copy-paste the URL, or use standard platform controls?

If you use copy-paste, note that URLs of course pages are different when you’re enrolled and not enrolled.

When you try accessing the URL for enrolled users, but you’re not yet enrolled, you will see 404. Try using the “not-enrolled” URL for the course. 

example of a not-enrolled URL:

https://<PLATFORM_URL>/learn/course/internal/view/classroom/<COURSE_ID>/course_name

example of an enrolled URL (this will present 404 if you’re not yet enrolled):

https://<PLATFORM_URL>/learn/course/<COURSE_ID>/session/<SESSION_ID>/course_name

 

Userlevel 1

Hi Alek,

Thank you for responding I really appreciate it. 

I am accessing it from the my course widget, I have double checked and I am enrolled onto the course, I am in a waiting list. I have also tried adding me to the course so that I am no longer in the waiting list thinking this could be the cause as well. 

 

 

Userlevel 7
Badge +1

Hi, waiting lists may be adding another layer here. 

We only use Admin Approved enrollments, and they don’t cause 404. 

Maybe try opening a support ticket. 

Userlevel 1

Thank you Alek, I will try that. I really appreciate your help. Have a good day. 

Userlevel 7
Badge +8

definitely feels like a bug...

Userlevel 1

Hi Everyone, this issue has now been resolved. Thank you for all your help and have a good day. 

 

Some settings needed changing on the platform to enable this.

Userlevel 7
Badge +3

Hi Everyone, this issue has now been resolved. Thank you for all your help and have a good day. 

 

Some settings needed changing on the platform to enable this.

@Kieran Wilson  If it’s not too much, can you let us know what the settings were that needed changing? Just helps future folks who might run into similar issues and come across this thread.

Reply