How do I fix it?

your prim path here needs to point to the articulation root - When you change it to the path as listed below you selected the prim that contains the ARticulation Root API, and that’s why making that change makes it work