Adds better error handling for cart id.