I have an issue that sometimes snowflake connector does not work and it gives Error 6, howerver without changing anything and just rerunning the code it works. So earlier I made a Do Loop while ScriptError = 6 to just run the code again if the error occurs. However reading through the error log from last night the error happened and looks like it didn't loop.