Snap has bad plugs or slots: dbus (cannot find attribute 'bus')

Hi everyone!

I have an application that uses pulseaudio and dbus org.freedesktop.portal.

In classic mode it works fine, but when I switch to strict, I have problems: Pulseaudio returns connection refused, dbus does not work at all.

When installing the package I get warnings: snap has bad plugs or slots: xdg-desktop-portal (unknown interface "xdg-desktop-portal") snap has bad plugs or slots: system-files (cannot add system-files plug: needs valid "read" or "write" attribute); dbus (cannot find attribute 'bus')

I have dbus and audio-playback plugins installed, how can I solve this problem?