Changed: added the request to the CAPIError details when a request fails