This message is generated when a requested dot product cannot be computed because the number of elements in the inner dimension of one argument is not the same as the number of elements in the outer dimension of the subsequent argument.
Off[message] switches off the message; On[message] switches it on. For example: Off[Dot::dotsh].
Examples
Basic Examples(1)
The number of elements in each row is not the same as the number of elements in the vector:
This shows a dot product in which the operands have compatible dimensions: