Description
The Resend free-tier plan limits to 3 audience segments. This causes POST /audiences and POST /broadcasts to fail with HTTP 400 when the limit is reached.
Error
{"statusCode":400,"message":"Your plan includes 3 segments. Upgrade to add more.","name":"validation_error"}
Suggested improvements
- Document the limit in the README or DocC
- Add a helper method to check remaining segment quota
- Provide a better error message or context when this error is thrown
- Consider a plan-aware approach that warns before hitting limits
Description
The Resend free-tier plan limits to 3 audience segments. This causes
POST /audiencesandPOST /broadcaststo fail with HTTP 400 when the limit is reached.Error
{"statusCode":400,"message":"Your plan includes 3 segments. Upgrade to add more.","name":"validation_error"}Suggested improvements