Can´t make a script to run local audio

I searched the forum but i did not get any answer to my problem.

I can play my music to my google speakers through media browser but if i try to make an automation or script i get the following error:

Login attempt failed

Login attempt or request with invalid authentication from jbllink-80c5f2286243.lan ( (Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.100 Safari/537.36 CrKey/1.40.168834)

I think that because of this error i cant also get any playlist files to work.

I am using nabu casa subscription.

I also can´t access the media folder through chrome. I can access everything through my local network though.

  alias: proovikas
  - service: media_player.play_media
      media_content_type: music
    entity_id: media_player.jbl_link_20_286243_2
  mode: single

What can i do to resolve this issue?

Did you put this in config? If not add this and try.

    - /media

No I didn´t but now I tried it and the same thing is happening.