Skip to content

fix(aws): align Custom Runtime error format with Lambda Runtime - #1433

Closed
akenra wants to merge 1 commit into
spring-cloud:mainfrom
akenra:feature/gh-1428
Closed

fix(aws): align Custom Runtime error format with Lambda Runtime#1433
akenra wants to merge 1 commit into
spring-cloud:mainfrom
akenra:feature/gh-1428

Conversation

@akenra

@akenra akenra commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Hi @olegz!
Since I'm on a bit of a contribution spree, I've decided to try my hand at @mrjv's proposal.

The solution seems rather simple: we need to change the errorType to a fully qualified class name and stackTrace to JSON array of strings to match the standard Lambda Runtime format. I added the "Lambda-Runtime-Function-Error-Type" HTTP header as well since AWS Lambda Runtime API seems to use it.

Fixes gh-1428

Change errorType to fully qualified class name and stackTrace to
JSON array of strings to match the standard Lambda Runtime format.
Also add the Lambda-Runtime-Function-Error-Type header.

Fixes spring-cloudgh-1428

Signed-off-by: akenra <37288280+akenra@users.noreply.github.com>
@olegz

olegz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Hey, @akenra i just saw this, sorry. I'll revert my commit and accept your PR

@olegz olegz closed this in e680ffd Jul 31, 2026
olegz pushed a commit that referenced this pull request Jul 31, 2026
Change errorType to fully qualified class name and stackTrace to
JSON array of strings to match the standard Lambda Runtime format.
Also add the Lambda-Runtime-Function-Error-Type header.

Fixes gh-1428
Resolves #1433

Signed-off-by: akenra <37288280+akenra@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AWS] Custom Runtime error response format inconsistent with Lambda Runtime

2 participants