Cast not working

I have this view in UI:

  "views": [
      "icon": "mdi:cast-variant",
      "title": "castlovelace",
      "path": "lovelace-cast",
      "id": "lovelacecast",
      "layout": "masonry",
      "cards": [

and i am trying to cast this to my google nest_hub in this way:

  alias: Cast NestHub
  - service: cast.show_lovelace_view
      entity_id: media_player.nest_hub
      dashboard_path: lovelace-cast
      view_path: lovelace-cast
  mode: single
  icon: phu:nest-hub

… but unsuccesfully… I always get “unable to find view”

Where am i wrong?