Added more exception handling to the API