Remix app not handling aws eventbridge webhooks

Remix app not handling aws eventbridge webhooks

sancuscommerce
Shopify Partner
17 1 2

I have created and activated an aws eventbridge webhook, but it is not routing to my remix webhooks route.

 

in the error logs, i see this error:

"TypeError: Cannot read properties of undefined (reading 'x-forwarded-host')", " at convertApigRequestToNode (file:///var/task/shopify-remix/build/server.mjs:179552:20)", " at Runtime.handler (file:///var/task/shopify-remix/build/server.mjs:179607:22)"

 

when viewing the eventbridge logs, i can see where it is calling the function and passing in data, but I dont see headers being sent.. and no x-forwarded-host.

 

What am I missing in my setup of the remix lambda function or eventbridge bus?

Replies 0 (0)