-
Notifications
You must be signed in to change notification settings - Fork 666
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
I’m attempting to use the Bedrock DocumentSource to analyze a PDF stored in s3. I’ve tried with both InvokeModel and Converse but regardless of what command is used, the server returns a validation exception:
ValidationException: The model returned the following errors: messages.0.content.0.document.source.type: Field required
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/client-bedrock-runtime@3.987.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v24.5.0
Reproduction Steps
Observed Behavior
Expected Behavior
According to the documentation, Bedrock should be able to grab the file from S3 and send it to the model.
Possible Solution
No response
Additional Information/Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.This issue is due to a problem in a service API, not the SDK implementation.