I was having this issue with a 2020 I was working on. I initiated the file write and then switched the key on and it worked perfectly