How do you handle your API errors?
Hi,
Emporix error management is handled at the API level. In the event of an error, such as validation errors, coupon expiration, payment problems, etc., the corresponding Emporix API response will return a 400 ‘Bad Request Error’ with a clear description of the error’s reason. The error code and message must be properly handled at the front end to display the correct information to the user, enabling them to take the right steps to correct the error.
All the Emporix API error codes are clearly documented in the API documentation. For more information please visit Emporix API