Bad Request when trying to restore after installation

I created a backup of my Home Assistant setup from my SD card. I am wanting to move to a SATA drive.

I have now installed HA on the SATA, and want to restore.

I select the backup file on my local PC and I see this.

All good.

I click restore.

I get a 400 - Bad Request and the screen goes back to start:

Here’s details on the error:

How do I resolve this?

The backup file seems valid. I can open it:

I am having the same issue. How did you solve this? Did you?
My backup file, incidentally, is 11GB!

I have the same problem, too.

This seems to happen when the backup is encrypted. Unfortunately the spinner keeps spinning and only in the console / devtools of the browser you will see why. If you show the Response for this 400, you will see something according the lines of “Password wrong”. Even though it is not.

My workaround is to just set it up using a dummy user and then after that do a full restore from System > Settings > Backups. That works even with encrypted backups.