success: false results. This page catalogs every known error, its source, and how to fix it.
Constructor errors (thrown)
The constructor is the only place the SDK throws. All other failures resolve gracefully.sendEmail client-side validation
These errors return{ success: false, errorMessage } with no statusCode. No request is sent.
sendEmail API and network errors
These errors return{ success: false, statusCode?, errorMessage } after a request is attempted.
getEmailStatus errors
These errors returnEmailStatusResult with success: false.
HTTP status interpretation
Use these general rules when the SDK returns astatusCode:
BosonWare has not published the exact HTTP statuses for specific API errors. The ranges above are general guidance.
Next steps
Troubleshooting
Step-by-step fixes for common errors and runtime issues.
Request and response formats
How the SDK parses errors and maps them to Result fields.
API reference
Endpoint details and curl examples for direct API calls.
Security best practices
Protect API keys and prevent credential leaks.