added error handling when product's request failed