Troubleshoot UI flow playback error KeyboardIdMismatch

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


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