Branden,
This error message message The specified path "/groupdata01/NewQtree" does not exist in the namespace belonging to Vserver "n1cnastest" is thrown by ONTAP and not WFA. You get this when the qtree you are trying to create cifs share on doesn't exists.
I suspect that create Qtree api returns a success before the actual Qtree gets created completely and when the 2nd command to create cifs share on it executes, it fails at those times. Why this delay? I'm not certain about it.
Just try to manually create a Qtree and cifs share using the Cluster CLI a few times and see how that goes. U may see similar behaviour.
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.