I have a new Google Nexus 5X model LH-H790, that's meant to replace an also new Nexus 5X LG-H791.
When I try to transfer the account from phone to phone ("Set up nearby device") I see the confirmation code as expected on both phones. Pressing next gives the unhelpful error message "Sorry, something went wrong".
The devices are next to each other, or nearby, or touching, both connected to the same WiFi, and both machines are virtually new. What could cause "Sorry, something went wrong"?