Fileshare error "Error while retrieving shares"

my nextcloud is install by ova
1, share one image with link url,
2, open the link ,
3, click the share button, nothing to slow,
4, close the preview , it’s show error “Error while retrieving shares”

i use chrome debug tools to trace the error, when i click the share button, it’s 404 error with this url: