For my coursework in "Python for Datascience and AI", While trying to put the dataset into a bucket in the IBMcloud using the command
resource.Bucket(name= Bucket_Name).put_object(Key= 'index.html', Body= f.read())
I get the error:
NoSuchKey: An error occurred (NoSuchKey) when calling the PutObject operation: The specified key does not exist.
------------------------------
Suraj Tamrakar
------------------------------
#AIandDSSkills#AICertificate