Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 9

Cannot access my draft course (404 error)

Solved! Go to Solution.

I have gone through the lab Write a Learning Lab Course in guided mode and I am currently working with issue #5 - Publish your course (https://github.com/bampakoa/lab-starter/issues/5).

 

In the section that describes how to Create the draft course the step 7 indicates that in order to take the draft course, I should navigate to https://lab.github.com/YOUR-ORGANIZATION/lab-starter which in my case is https://lab.github.com/bampakoa/lab-starter. When I try to access this link, I get 404: Page could not be found error.

8 Replies
Moderator
Message 2 of 9

Re: Cannot access my draft course (404 error)

Hi @bampakoa! I am also not seeing the course there. 

 

The instructions ask you to create an organization, and fork the repository into that organization to use as the course. But, it looks like you'd like to have the learning lab course be owned by your user account.

 

That's totally fine - but you will need to follow some different instructions. You can find the docs for testing a course here. Let me know if this helps, or if you're still stuck. :)

Copilot Lvl 3
Message 3 of 9

Re: Cannot access my draft course (404 error)

Hi @brianamarie ,

 

Thanks very much for your prompt reply. AFAICU, the instructions about a personal account are pretty much the same, where YOUR-ORGANIZATION is replaced with :owner. BTW, since Write a Learning Lab Course course can be used by individual accounts, it would be helpful if instructions for  Create the draft course could be updated to reflect this.

Nevertheless, I followed the instructions to test the course as indicated but I am stuck at the point that says:

 

Navigate to your course by going to https://lab.github.com/:owner/:title, replacing :owner with the login of the owner and :title with the slugified title of course.

 

I am trying to access it using https://lab.github.com/bampakoa/lab-starter but I get the same error. I am wondering.... is lab-starter the slugified title of the course?

Moderator
Message 4 of 9

Re: Cannot access my draft course (404 error)

 

BTW, since Write a Learning Lab Course course can be used by individual accounts, it would be helpful if instructions for  Create the draft course could be updated to reflect this.

 

I completely agree, @bampakoa. There is an open issue for this point, but it hasn't yet been addressed.

 

Navigate to your course by going to https://lab.github.com/:owner/:title, replacing :owner with the login of the owner and :title with the slugified title of course. I am trying to access it using https://lab.github.com/bampakoa/lab-starter but I get the same error. I am wondering.... is lab-starter the slugified title of the course?

 

Ah - I see the problem. The title of the course comes from the `title` field in the `config.yml` file, NOT the name of the repository. I see your course is currently in draft form at this URL: https://lab.github.com/bampakoa/my-amazing-course

Copilot Lvl 3
Message 5 of 9

Re: Cannot access my draft course (404 error)

I think the word slugified confused me :) . I tried to access https://lab.github.com/bampakoa/my-amazing-course but I got 404 error again.

Moderator
Message 6 of 9

Re: Cannot access my draft course (404 error)

Hello again @bampakoa! Thank you for your patience.

 

I also had to check what "slugify" meant - I think it's just the practice of turning something like "My amazing course" into "my-amazing-course" automatically.

 

If you can confirm you're logged in and you still get a 404, could you please send a message to learning-lab@github.com and include a link to this thread? I want to make sure you get the help you need, and there we can coordinate a possible video call or other help to make sure you are successful.

Copilot Lvl 3
Message 7 of 9

Re: Cannot access my draft course (404 error)

@brianamarie  thanks very much for your effort, I really appreciate :)

 

I can confirm that I am logged in when trying to access my draft course. I tried to send a message to learning-lab@github.com but it did not deliver because Gmail responded that the email address could not be found.

Moderator
Message 8 of 9

Re: Cannot access my draft course (404 error)

I'm so sorry about that, @bampakoa!  The addres is listed incorrectly on my internal inbox - the correct address should be learninglab@github.com.

Solution
Moderator
Message 9 of 9

Re: Cannot access my draft course (404 error)

Because your course is in draft, it isn't accessible at /:owner/:course, only at /:owner/:course/:version. This is something we want to fix so it is less confusing.

 

In the meantime, you can visit /1.0.0: https://lab.github.com/bampakoa/my-amazing-course/1.0.0

 

Or, you can jump straight to the admin page: https://lab.github.com/bampakoa/my-amazing-course/admin