This is a community forum, meaning users. You should open a support case if you need WD.
If it was me the first thin I would do is copy my data to a USB drive so I did not loose anything. I am not sure how you got to a startup error if it was on and rebuilding. Does the server have a UPS? Could the power have gone out to force a restart?
Don’t know, perhaps the replacement drive is bad?