Troubleshoot UI flow playback error KeyboardIdMismatch
Important
This article covers topics related to legacy systems. Migrate your flows created with these solutions to Power Automate for desktop or delete them.
- Selenium IDE is deprecated and will no longer work after February 28th, 2023.
- Windows recorder (V1) is deprecated and no longer works.
This article provides steps to solve the KeyboardIdMismatch error that occurs when running a UI flow during Test run or Flow run.
Applies to: Power Automate
Original KB number: 4555907
Symptoms
When trying to run a UI flow during Test run or Flow run, the user gets one of the two following errors:
KeyboardIdMismatch. The keyboard on the machine '0x0000040c040c' does not match the keyboardLayout in the script '0x000004090409'.
The error is visible in the UI flow Test Page or See detail page of the UI flow run instance.
Verifying issue
Check the Windows language on the machine when recording is same on the machine where playing back.
Solving steps
Change the Windows display language on the machine when playing back to the same display language used for recording.
Windows 10: Manage the input and display language settings in Windows 10 Windows Server 2016: Change The Display Language (Windows Server 2016)
Go to the Test step in UI flow to test again.