Handle API failure on send attachment