Error Handling
Upfront uses HTTP status codes to indicate the status of API requests. Generally:2xxindicates success4xxindicates something was wrong with the provided information5xxindicates something went wrong on Upfront’s servers
Error Response Format
All error responses follow a consistent format:Attributes
code(string): A machine-readable error code that can be used programmaticallymessage(string): A human-readable message providing more context about the error. These messages may change over time and should not be used programmatically.
Error Codes
Application Errors
| Code | HTTP Status | Description |
|---|---|---|
invalid_address | 400 | The address provided could not be validated against the Google Address Validation API |