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

Api Gateway requests with query string always response 400 #7170

Closed
namsic6460 opened this issue Jun 17, 2024 · 3 comments
Closed

Api Gateway requests with query string always response 400 #7170

namsic6460 opened this issue Jun 17, 2024 · 3 comments
Labels
blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.

Comments

@namsic6460
Copy link

namsic6460 commented Jun 17, 2024

Hello, I am configuring a Lambda through SAM and connecting it to API Gateway and Route 53 to create API. After deploying to AWS and conducting tests, I connected the domain and certificate to Route 53.

When defining the API in SAM, I explicitly included the query string, and it appears correctly in AWS as well. However, when I call the API with the query string included, the request does not reach the Lambda and I receive a 400 response. If I remove all query strings and try again, the request reaches the Lambda, and I can see the logs in CloudWatch. API Gateway also has a feature to log to CloudWatch, and I have configured this as well. However, when the query string is present, no logs are recorded.

I am unsure what the issue might be. I would appreciate any help you can provide. Thank you.
image
image
image

@namsic6460 namsic6460 added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Jun 17, 2024
@namsic6460
Copy link
Author

I am concerned that too much of the image might be obscured, but I have hidden it just in case. If you need any additional information, please let me know, and I will provide it. Thank you for your understanding.

@mndeveci
Copy link
Contributor

Hi @namsic6460, thanks for creating this issue

Would you be able to provide a simple reproducible example so that we can investigate the issue on our side?

@mndeveci mndeveci added blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale. and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jun 18, 2024
@mndeveci mndeveci closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.
Projects
None yet
Development

No branches or pull requests

2 participants