Bedrock runtime error when using prompt caching #7100
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p3
This is a minor priority issue
Uh oh!
There was an error while loading. Please reload this page.
Checkboxes for prior research
Describe the bug
With AWS Lambda, using the
ConverseCommand
with a cache point causes the following runtime error :Without cache point, everything is working fine.
Regression Issue
SDK version number
@aws-sdk/package-name@version, ...
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
NodeJS 22.X
Reproduction Steps
package.json
:hello-bedrock-handler.ts
:cdk construct
:Then manually trigger the function on AWS Console.
Observed Behavior
With cache point set in the request the error is thrown, without the cache point it's working.
If I execute manually the handler locally (outside Lambda), no error, even with the cache point.
Expected Behavior
No error.
Possible Solution
No response
Additional Information/Context
Exactly same error than #6404 (comment)
But the root cause seems different as I am using last versions of
aws-sdk
.The text was updated successfully, but these errors were encountered: