Error unable to completely restore the url

Hi,
the error would seem to result from setting a dashboard as default. Commenting the link of the dashboard the error is no longer reported.
We should also note that the shared dashboard link changes to the dashboard we want as the default. Is this a known problem? Is it solvable?

below the part of code in the file"kibana.yml" to identify the default dashboard.

# Default location
server.defaultRoute: "/app/kibana#/dashboard/5dec5470-99e1-11e7-b462-a3bd47a68a7f?_g=h@ff82bf5&_a=h@ce8f50d"7

Thanks so much.
massimo