https://serverless-stack.com/ logo
#help
Title
# help
r

Roberto Novelo

02/19/2022, 3:58 AM
I can't figure out why this is happening, but any
/api
web request will throw an HTTP 500 error and nothing will get logged in cloudwatch. It started happening after upgrading from sst
0.59.0
. How could I further troubleshoot this, or force logging or similar?
Also, this is only when deploying i.e. to
prod
, running locally along with
sst start
works as expected 😕
never mind.... this is an error thrown by amplify's
withSSRContext
. But still, I can see no logs for my function.
f

Frank

02/19/2022, 7:23 AM
Hey @Roberto Novelo is this an Edge function?
r

Roberto Novelo

02/19/2022, 3:27 PM
I think so yes, it’s an API function for the NextjsSite construct
🤦 I figured it out.... I was behind a VPN, so all the stuff was being logged in a different region than usual.... It clicked for me after Frank's question!
f

Frank

02/22/2022, 12:02 AM
Ah yeah, the Edge functions logs are logged to different regions based on where the request came from.