Add request and response to API Errors

Change-Id: I2d80c7c831a4a032cc885366a3f204cd809cec11