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'.

Screenshot of the error when trying to run a U I flow during the Test run or Flow run.

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