site - selftaught-dev.com/
happy-hugle-97373a
Trying to use Netlify identity to handle user signup. It works wonderfully!..Unless I try to use the ‘identity-signup.js’ webhook. It worked great back in November (It could send the user info to my database and update their role in Netlify identity), but then it randomly stopped working and started giving user a “Failed to handle signup webhook” error when they’d try to create a new account on my site (see below img).
I have deleted everything in my identity-signup.js function and this is all I’ve got in it now, but it still gives me a 422 and a “failed to handle signup webhook” error.
exports.handler = function (event, context, callback) {
callback(null, {
statusCode: 200,
body: "Hello, World",
})
}
Does anyone have any ideas what might be causing this or anything that could point me in the right direction? Been stuck on this for a few days.
Here’s the repo if that helps https://github.com/ghughes13/Portfolio-v2