Skip to content

Routing failure when decoding API Gateway events #770

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

Open
SereneMatt opened this issue Mar 12, 2025 · 0 comments
Open

Routing failure when decoding API Gateway events #770

SereneMatt opened this issue Mar 12, 2025 · 0 comments

Comments

@SereneMatt
Copy link

Hello 👋

When using Open-Next's API Gateway converter, we are facing some issues with query parameters.

Issue:
API Gateway already decodes the query parameters for REST APIs as documented here. But the routing util here decodes the query parameters again causing routing failure at the converter.

We have a temporary workaround by using custom API Gateway converter where we encode the decoded query parameter 🙂. But this causes issues where we actually need some URL query parameters with decoded values.

Can this decoding be skipped for API Gateway events?

Thank you!

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

No branches or pull requests

1 participant