So many years later and this thread helped me a lot! I was going nuts with this error. In my case, It was necessary removing the dim in Dimension Usage, as changing to "No relationship" didn't help, and then recreating the dim and the links again.
Thank you a lot.