#lucasribeiro_
1 messages ยท Page 1 of 1 (latest)
Hello! What debugging have you done so far? Are you seeing any errors? Do you have an example event ID I can take a look at?
I'm not sure how to provide more details, but I'm using Next.js with TypeScript. This is the ID of my webhook: 'we_1OCq16EJpdNLS1lTUJQYiapo'.
"evt_1OCsZtEJpdNLS1lTrJePVlD6". Event ID
Hmmm... does your webhook handler have logic to raise a 405 error?
in my file I handle GET and POST, after: return res.status(405).json({ error: 'Method Not Allowed' });
Thanks for the quick responses, by the way. ^^
I can send you the entire code if you wish
I don't htink I need your code quite yet
Have you been able to successfully curl your own server in production? Just to make sure you're not getting 405 errors there
yes, in using CLI on localhost it works
Not localhost - are you able to curl/call your production server, separately?
You can research on how to curl, or how to use Postman ๐
Im searching about Postman
I managed to do a test send with Postman, but still with the 405 (method not allowed)
What method you sent in?
So you endpoint is not accepting POST. You would want to review your framework setting
but if I wasn't accepting POST, on localhost I wouldn't be able to, but it's working.