We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb7ab9 commit 482dda1Copy full SHA for 482dda1
src/lambda/workflow_tracker/index.py
@@ -223,9 +223,9 @@ def handler(event, context):
223
# Get object key from document
224
try:
225
if "document" in input_data:
226
- object_key = input_data["document"]["input_key"]
+ object_key = input_data["document"]["document_id"]
227
else:
228
- raise ValueError("Unable to find object key in input")
+ raise ValueError("Unable to find document_id in input")
229
except (KeyError, TypeError) as e:
230
logger.error(f"Error extracting object_key from input: {e}")
231
logger.error(f"Input data structure: {input_data}")
0 commit comments