WordPress can add random characters like numbers and letters at the end of your URLs. It can be something like ?v=acu896505f1c
Where does this error come from?
This problem can be due to Woocommerce in case you have customs settings.
What can be done to solve this problem?
To solve the issue with permalinks, you have to change one setting on WooCommerce.
You have to go into :
Woocommerce > Settings > General > Defaults customer location. Then you have to set the “No location by default“.