API failures are rejected with entire response