Skip to content

Stream error is not returned #3650

@oleg-boulanov

Description

@oleg-boulanov

Describe the bug

See #3649

There is 403 returned by hhtp-decoder (because of invalid action, "InvokeModelWithBidirectionalStream")
But there is no error message logged, no stream error callback invoked, and the message can be found only in full trace.

Unacceptable.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Stream error should be returned, or, at least, ERROR logged

Current Behavior

TRACE logged as:
[TRACE] http-decoder [2784] id=038D8770 Decoded header field: ":status: 403"

Reproduction Steps

Run on Bedrock Sonic EC2 instance, with no bedrock-runtime:invokemodel permission

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.705

Compiler and Version used

Visual Studio 2022, C++

Operating System and version

Windows 11/2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions