Wall dimensions - One or more dimensions references are or have become invalid

I am trying to create wall dimensions and somehow I keep getting this error. Any ideas?
I read in a revit forum that the wall has been deleted from the central model, but that makes no sense because I am not using a central model, it is a local file.

Here is the workflow. I just created a line, use the wall references, and the active view.

@migueliyus Any luck fixing your problem? I’m running into the same troubles.

me too, did you manage to solve this?