I am not familiar with windows phones. Is it using mtp?
https://forums.windowscentral.com/nokia-lumia-920/202078-mtp-usb-device-failed.html Some people report the same problem, which was solved by rebooting the phone. https://social.technet.microsoft.com/Forums/windows/en-US/f424e04a-818b-415c-b3ec-1fbc6507f806/solvedwindows-mobilebased-device-and-canon-powershot-cameras-showing-code-19-and-mtp-usb-device?forum=w7itprogeneralThis is a hard question though, not many people uses windows phones and I doubt more people here having this phone.
This is more technical but might also help: https://askubuntu.com/questions/376815/how-to-connect-mtp-android-device-to-ubuntu-13-10