Added itemId -> itemName conversion and added error handling to get_item_id on status code check