It indeed looks like a digit was accidentally trimmed off the end there during the copy and paste process. Always ensure you don't trim off any digits or add any additional whitespace or non-standard characters when you paste in the key.

Alternate explanation
Just for the sake of others who may come to this StackOverflow question with the same problem, it's worth nothing that this UiPath machine key error can also be thrown when there's a mismatch between the hostname of the local machine and the machine name used when creating the machine resource on UiPath Orchstrator.

Another issue is simply the fact that there can be so many machines configured on UiPath Orchestrator, the machine error may be caused by something as simply as copying from the wrong resource.
Make sure the hostnames are correct, make sure you copied the key for the correct machine and ensure the code is pasted without trimming or adding any characters accidentally. Get that right and you'll have your UiPath robots up and running in no time.