Is there a default value I can specify for a string to avoid "Object reference not set to an instance of an object." error?

Hi @Sachingoudar,
Please check this link, this may help you handling the errors more specifically >>Check if value exists