NSURLErrorDomain error -1012

I have an iPhone and the WD My Cloud app downloaded. It was working fine but now I’m getting an error that the drive is offline. I also got this NSURLErrorDomain error -1012 error a couple of times. Any ideas?