mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #5064] [bug]: AWS Signature v4 auth signing does not include request body #1928
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1928
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stephenlagree on GitHub (May 9, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5064
Originally assigned to: @anwarulislam on GitHub.
Is there an existing issue for this?
Current behavior
When I use aws sigv4 auth to send a request that isn't GET, such as PATCH, I get the following error:
GET works fine. I looked at the code and saw that the body is not included in the request signing. I believe this requires a fix in
packages/hoppscotch-cli/src/utils/pre-request.ts:It should also include something like this:
Steps to reproduce
Logs and Screenshots
Environment
Production
Hoppscotch Version
Cloud
Interceptor
Not Applicable - Issue not related to network requests
Browsers Affected
No response
Operating System
MacOS
Additional Information
No response
@jamesgeorge007 commented on GitHub (May 29, 2025):
Hi, closing this issue since this is addressed in the latest release. Please feel free to let us know if you have any feedback.
@ShahidPLT commented on GitHub (Jun 18, 2025):
@jamesgeorge007 , I am seeing the same issue on POST request but work fine on GET request
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for detailsVersion 25.5.2