#C2_W3 Lab Assignment : Running into an error

I follow the instructions to make changes to the great_expectations.yml file.
When I run this command: “great_expectations store list” from my Cloud9 terminal, I get this error:

Traceback (most recent call last):
File “/home/ec2-user/environment/jupyterlab-venv/lib64/python3.9/site-packages/great_expectations/data_context/util.py”, line 98, in instantiate_class_from_config
class_instance = class_(**config_with_defaults)
TypeError: init() got an unexpected keyword argument ‘bucket’

I went to the utils.py file, but I couldn’t figure out what keywords it is expecting.

I am already overdue, and would appreciate any help to resolve this issue.

Thanks,
Ishani

Hello @Ishani_Ghosh
There might be a problem with the indentations in your yaml file. Please, check that all the code parts you copied from step 1.3, have the correct indentation in the great_expectations.yml file. Also, have you deleted the local_site key from the data_docs_sites?

Thanks @Amir_Zare …I don’t think I copied anything from step 1.3. Just edited the yml file following the instructions. The local_site key - I don’t think I deleted either. Was I supposed to delete that?

You are welcome @Ishani_Ghosh. Please, go through steps 1.3 and 1.4 instructions again. In these steps you replace some configurations in the yaml file. And, yes, you are supposed to delete the local_site key.