This is tutorial for fixing error error BC30451: ‘variablename’ is not declared. It may be inaccessible due to its protection level. Variable ‘variablename’ is missing. Please use Data Manager to recreate it.
Solution:
Open globalVariables.json file and check if the variable is actually declared or not and if declared more than once, delete the extra variable node from the json.
Here is the scenario recreated:
If it helped you any way and finds helpful, don’t forget to upvote.
Thanks,
Ashok