C1W3 - There was a problem loading the file 'credentials'. Details: [Errno 2] No such file or directory: '/shared/submission/credentials'

[When creating a post, please add:

This error bubbles up during grading, but randomly. First it was on the Dynamic Auto Scaling part, which I confirmed was the proper name without spaces. I refreshed the lab and re-submitted, then it was on ALB Security Group part, which was found to be correct in the previous grade, but now fails.

Thankfully, the change in which failed has left me with a passing score, but the grader is messing up somehwere.

Hello @dsdorazio,

Thanks for taking the time explaining the issue about the grader. I noticed the same behavior in other labs later in the course. I managed to get 100% like you described, rerun the cells with the ungraded outputs and submit a couple of times. That is the output you must be getting (There was a problem grading you submission etc..):

Dear @dsdorazio
Thanks for reporting your issue. We have created an internal bug for the development team. We are working on fixing it.

SOLUTION:

  1. Go to root folder using cd ~
  2. create folders using mkdir -p shared/submission
  3. from root folder: copy credentials using cp labsettings/credentials shared/submission/credentials

In this way we copy credentials from labsettings and paste it to the shared/submission folder. Make sure to run commands from root folder.

Now submit the assignment, it will work.