Pass the API's error message through the Exception