Skip to content

Misleading documentation for UnsupportedDocumentException error #7124

Closed
@Tudes

Description

@Tudes

Describe the issue

The UnsupportedDocumentException error is misleading for the PDF format. While it supports the stated formats, the AnalyzeExpenseCommand only allows 1 Page PDF to be passed in a synchronous manner. The documentation is partially true and it might save people many hours of debugging by clearly stating it in the docs.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/textract/command/AnalyzeExpenseCommand/

Activity

added
documentationThis is a problem with documentation.
needs-triageThis issue or PR still needs to be triaged.
on Jun 10, 2025
self-assigned this
on Jun 10, 2025
aBurmeseDev

aBurmeseDev commented on Jun 10, 2025

@aBurmeseDev
Contributor

Hi @Tudes - thanks for reaching out and for the feedback.

Since this's mainly service model related, I'll have to confirm the behavior with service team and check if they need to update the docs.

Are you saying that PDF format is supported only when it's one page? Can you share code snippet and error log if possible?

added
service-apiThis issue is due to a problem in a service API, not the SDK implementation.
p3This is a minor priority issue
response-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
and removed
needs-triageThis issue or PR still needs to be triaged.
on Jun 10, 2025
github-actions

github-actions commented on Jun 21, 2025

@github-actions

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

added
closing-soonThis issue will automatically close in 4 days unless further comments are made.
and removed
closing-soonThis issue will automatically close in 4 days unless further comments are made.
on Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

closed-for-stalenessdocumentationThis is a problem with documentation.p3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.service-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Tudes@aBurmeseDev

      Issue actions

        Misleading documentation for UnsupportedDocumentException error · Issue #7124 · aws/aws-sdk-js-v3