Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all HTTP error codes #2031

Open
efgpinto opened this issue Feb 11, 2024 · 0 comments
Open

Support all HTTP error codes #2031

efgpinto opened this issue Feb 11, 2024 · 0 comments
Labels
java-sdk kalix-runtime Runtime and SDKs sub-team

Comments

@efgpinto
Copy link
Member

We currently only support subset of HTTP errors. I belive this came from the fact that only some had a direct translation to GRPC error codes.

However, I think we need to extend and support all status codes.

I recently tried to implement an API spec which required a return code of 422. The only workaround ATM is to do a .reply using the internal kalix header in metadata.

@efgpinto efgpinto added kalix-runtime Runtime and SDKs sub-team java-sdk labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java-sdk kalix-runtime Runtime and SDKs sub-team
Projects
None yet
Development

No branches or pull requests

1 participant