Fixed trying to decode the response object for non-read requests