ALM-612 send error attribute to get_data if API requests fails