Engineering
402, not 429: what an email API's errors should say to a model
When an agent gets an error, it has to pick one of three things to do next: retry, fix the request, or stop and tell a person. Why a spent plan is a 402, why two 429s mean opposite things, and the day we collapsed a dozen error names into one vocabulary.
Daniel Sternlicht · 6 min read