January 17, 2023

Buttondown's Zapier integration has better error codes now!

It's literally just a lightning bolt

Buttondown's had a dynamite Zapier integration for a while now, but the error handling was... rough. You'd get a status code and it'd say "unexpected input" and that was that.

Forgive me! I built the integration way back in the halcyon days of 2018. I know better now.

Now, when you get an error, you'll get a more helpful message. For example, if you try to create a subscriber with an invalid email address, you'll get this:

  "code": "email_invalid",
  "detail": "The email address provided of '' is invalid."

This makes it easier to debug your awry Zaps and to programmatically handle edge cases.