WD My passport for Mac is not working with Apple's program Catalina

After up-dating my IMac to Catalina I’m not able to import IPhoto library from the disk. When it’s connected on my IMac it starts to import the library, but after a few minutes the disk disconnect from the computer and I get an error message 1000006. I have tried to re-install Catalina several times and also been in contact with Apple support, but nothing helps. I have also opened the disk manager and tried to repair the disk, but again it’s disconnecting. My Passport for Mac was working just fine before. Anyone else with the same problem?