Skip to content
Back

Dont throw error

  • 0
  • Databases
  • Cloud
SahilG
30 Sep, 2025, 10:39

In my webhook handler I am verifying the if webhook is duplicated or not since stripe sends events more than once sometimes. but if row not found in db appwrite is directly throwing error. any way i can fix this? like in axios if we dont want to through error for non-2xx status code we pass validateSatus:()=>true in configs for each call.

TL;DR
Developers are encountering errors in their webhook handler when verifying duplicate webhooks in Stripe. They are looking for a way to prevent the error from being thrown if the database row is not found, similar to how Axios handles non-2xx status codes.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more