Closed kimfucious closed 3 years ago
You're doing all your signing outside your handler β which means it only gets done once.
You need to sign the request each time your handler is called
@mhart, you're a π !
I was so fixated on the "fixes" that I didn't see what was right in front of my face!
Thanks a bunch for your helpful response.
Hey @mhart, Do you have any suggestion, how to handle, client system date is wrong. Maybe a firewall is blocking them from synchronise their time.
I'm doing something wrong, obviously...
I have Googled the π© out of this and keep coming back to the two issues that are closed on this repo.
My scenario is that I've created a lambda that I've scheduled through Amazon Event Bridge to perform a RESTful request upon another function that is setup on an API Gateway with IAM permissions.
This all works initially, but then, after 5 mins (like the other issues I've found) I start to get the following error:
I, frankly, don't know what I'm doing wrong here, so any advice would be appreciated. The below is my function code, trying to implement all the tricks I've seen to get this not to throw a 403, but to no avail.
Got milk? π₯