Fix an issue that error object is not wrapped inside BoxServerException when the request is expecting no content but server returns error with a content.