Message: Special keys syntax error. Encountered invalid special key action at text position

Studio 2021.10.5 - 2/1/2022
Community License
User-mode Installation

License Provider: Internal
Update Channel: Stable

Microsoft Windows 10 Pro 64-bit

When I run the process, save file to disk has error:
21.10.5+Branch.support-v21.10.Sha.369f46199a0fa6287d86ab2534b6896019db01bc

Source: 输入信息 ‘Edit’

Message: Special keys syntax error. Encountered invalid special key action at text position: 19.

Exception Type: UiPath.Core.ElementOperationException

RemoteException wrapping UiPath.Core.ElementOperationException: Special keys syntax error. Encountered invalid special key action at text position: 19. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Special keys syntax error. Encountered invalid special key action at text position: 19.
at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod, Boolean useDeadChars)
at UiPath.Core.UiElement.WriteText(String text, InputMethod method)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Upload this process , please download it and run to check.
SaveFile.zip (78.1 KB)

Hi,

The following post will help you.

For now, can you try as the following, or use SimulateType?

"C:\test_save_file[[20220309].txt"

Regards,

I rename the file name to “C:\test_save_file_[[20220309]].txt” , The problem is solved, Thank you!

1 Like