Unable to Upload the Files for Grading

upload failed: ./C2_W2_Assignment.ipynb to s3://de-c2w2a1–us-east-1-submission/C2_W2_Assignment_Learner.ipynb Unable to locate credentials
upload failed: src/main.py to s3://de-c2w2a1–us-east-1-submission/src/main_learner.py Unable to locate credentials
upload failed: src/endpoint.py to s3://de-c2w2a1–us-east-1-submission/src/endpoint_learner.py Unable to locate credentials

Hello @AKB,

I could reproduce the issue with Unable to locate credentials. There seems to be an issue with AWS_ACCOUNT_ID line that gives an empty(" "') string. You could follow those steps to pass the grader with 100%:

  1. First save changes in all the files. Download locally those three files: endpoint.py, main.py and C2_W2_Assignment.ipynb

  2. You need to rename those files for the grader:
    rename endpoint.py to endpoint_learner.py
    rename main.py to main_learner.py
    rename C2_W2_Assignment.ipynb to C2_W2_Assignment_Learner.ipynb (watch capital L in Learner)
    C2W2_rename

  3. Go to AWS console S3 and create a folder src in the submission bucket:

  1. Use Upload button (top right corner) and drag drop those three files in the bucket. Put endpoint_learner.py and main_learner.py files to src folder and leave in the main bucket C2_W2_Assignment_Learner.ipynb file:

  1. Ty submitting and hopefully it will pas the grader:

If you get a similar issue in other labs please submit this form, hopefully a lab refresh after 2 business days fixes it. Thank you

1 Like

Thanks a log @Georgios

1 Like