You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an IdempotencyAlreadyInProgressError is thrown, the error message should include the hashed key information.
Current Behaviour
Currently, the error message only includes the partition key, but when a sortKeyAttr has been provided in the config the partition key is a static string. The leads to meaningless errors in the log that all say there's a IdempotencyAlreadyInProgressError error for the same key.
Code snippet
nocode
Possible Solution
Include both the pk/sk, or detect the current scenario better and include the more meaningful one.
Expected Behaviour
Original issue: aws-powertools/powertools-lambda-typescript#3691
When an IdempotencyAlreadyInProgressError is thrown, the error message should include the hashed key information.
Current Behaviour
Currently, the error message only includes the partition key, but when a sortKeyAttr has been provided in the config the partition key is a static string. The leads to meaningless errors in the log that all say there's a IdempotencyAlreadyInProgressError error for the same key.
Code snippet
Possible Solution
Include both the pk/sk, or detect the current scenario better and include the more meaningful one.
Steps to Reproduce
use Idempotency with SK
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.13
Packaging format used
Lambda Layers, Serverless Application Repository (SAR) App, PyPi
Debugging logs
The text was updated successfully, but these errors were encountered: