Add response to API exceptions