I get this error when running checkpoint.run() in the great expectations assignment :
Error running action with name update_data_docs
…
File “/home/coder/miniconda/lib/python3.12/site-packages/great_expectations/data_context/types/resource_identifiers.py”, line 155, in from_tuple
RunIdentifier.from_tuple((tuple_[-3], tuple_[-2])),
~~~~~~^^^^
IndexError: tuple index out of range
The error usually happens when checkpoint.run() is invoked and related metadata is missing, malformed or misformatted.
Kindly please double-check your Checkpoint configuration (i.e., checkpoint = Checkpoint(param1=…,param2=…)) and ensure all necessary parameters are properly set.
Hello,
Thank you for your reply.
The cell where the checkpoint object was instantiated was given. So, I didn’t have to edit anything.
I also checked my yaml files. Everything seems correct.
In the error message, you can see that the bug comes from the object UpdateDataDocsAction.
Maybe, something have changed in Great Expectations API since the last time the lab was updated.
Could you try to reproduce the error, please ?