Raspberry PI3 Files.GetDirectory error -32602

Hi,
I have a problem with OSMC raspberry Pi3 with this command:

{“jsonrpc”:“2.0”,“method”:“Files.GetDirectory”,“params”:{“directory”:"/media/routerhd/Musica/"},“id”:1}

I received this answer:
{“error”:{“code”:-32602,“message”:“Invalid params.”},“id”:1,“jsonrpc”:“2.0”}

This command work well on Osmc Raspberry Pi2.

What is the problem?

Thanks for your help

Fantasens

We believe this is a Kodi issue or a specific Kodi function and as such you should look at addressing the issue there. We are unable to resolve your issue. If you do believe that this is an OSMC specific issue, please let us know.

Ok…
Thanks