I am getting a 0 for the Content in S3 docs bucket but when I check AWS, I can see content in there.
Any idea what can be causing this issue?
Hello @SophiaBrowne,
After you run checkpoint_result = checkpoint.run()
you should be able to see files in the docs bucket if you used the correct code in the great_expectations.yml file:
S3_site:
class_name: SiteBuilder
store_backend:
class_name: TupleS3StoreBackend
bucket: <DOCS BUCKET NAME>
site_index_builder:
class_name: DefaultSiteIndexBuilder
You should be able to see index.html in docs bucket afterwards:
Thanks Georgios,
I did that and I was able to access the link but it still gave me zero for Content in S3 docs. I will need to go over the exercise again and see if I can get a different grade.
Hello @SophiaBrowne,
Yeah that is a bit strange, you could try again and check after you run the checkpoint for any files in the docs bucket. Hope it helps
Hi Geogios, I went through it step by step again. I have gotten zero errors, I can see the folders in the docs S3 bucket, the URI was generated and I can access it to see the necessary information BUT I am still getting that issue.
Here is the screenshot of the context.build_data.docs.
Hello @SophiaBrowne,
Could you check the great_expectations.yml file you need to replace all the local site with the s3 site above. Your url is a bit different than the mine and index.html file is not in any subfolder. This might be the reason it doesn’t see the correct files. Thanks
Hello @SophiaBrowne,
I could reproduce the issue, your expectations.yml file has some issues. This is your output:
local_site: <---Change that to S3_site
...
store_backend:
...
bucket: <DOCS BUCKET NAME>
prefix: uncommitted/data_docs/local_site/ <---Remove that
site_index_builder:
...
You just need to replace the local_site with the S3_site:
S3_site:
class_name: SiteBuilder
store_backend:
class_name: TupleS3StoreBackend
bucket: <DOCS BUCKET NAME>
site_index_builder:
class_name: DefaultSiteIndexBuilder
Thank you so much. This was the issue! All fixed now. Have a great day.
Glad it fixed @SophiaBrowne, thanks