The default namespace and collection name was not set due to using ":" instead of "-" while setting the variables internally.