Troubleshoot UI flow Playback - KeyboardIdMismatch

Applies to: Power Automate


When trying to run an 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:

Windows Server 2016:

  • Go to the Test step in UI flow to test again.