For me the problem was I was trying to register a new device with a restored os from an old one.
The issue was the name of new device was the same of the old one. When I renamed the device with a new name it registered with no problem.
Alas the error message was misleading.