👑 Queen Raae Search github twitter youtube
Posts ยท June 1st, 2022

Raw body works in develop from v4.16

serverlesslamdaraw bodywebhook

As mentioned in Stripe Event validation in a Gatsby Serverless Function, getting the raw body in a Gatsby Serverless Functions did not work in development.

Luckily the framework team at Gatsby agreed it was a bug and fixed it. It looks like it will ship with Gatsby v4.16.

I got it working today using 4.16.0-next.1.

yarn add gatsby@4.16.0-next.1

ย 
All the best,
Queen Raae

Interested in more daily treasures like this one? Sent directly to your inbox?

Hold on...

Almost there!

Check your inbox to confirm...

Oh no...something went wrong...

You might also be interested in...

  • Stripe Event validation in a Gatsby Serverless Function

    May 19th, 2022

  • How to trigger a Stripe (checkout.session.completed) Event with metadata

    June 3rd, 2022

  • Dynamic data in your Gatsby Serverless Functions

    May 18th, 2022