Hi @Riya_Bansal
I see a MongoDB package which is creating the issue for you. Removing that I am able to create global variables. I also tried upgrading it, still is throwing the error but I am able to , but if you want to use global variables then create the variables by removing the package and then install the mongodb package again and you should be able to use the global variables as well. Looks like there is some dependency issues getting created with MongoDB package for global variables
cheers