Reputation: 13
I used to use Snowflake Connector in Python and MFA with Duo Mobile and push notifications without any problems. But after changing my smartphone to a new one, I can only use SMS and call authentification with Duo Mobile.
So now, in order to use Snowflake Connector with SMS authentification (which provides a passcode), I add the "passcode" parameter as I found on Python Connector API
I use the second parameter "passcode": Passcode parameters
This results in an error:
Error connection BDD Snowflake 250001 (08001) ... Incorrect passcode was specified.
Is it normal that I have to provide a passcode via the connector even if I have not received an SMS? (The passcode in parameter is the last one I received...)
I haven't found a solution to access Snowflake with Python, so if any one has an idea, that would be great.
Upvotes: 1
Views: 1714
Reputation: 216
You will always need to enter a valid passcode when using your Python script with the API. Otherwise, it will not work. Regarding the DUO Mobile push that stopped working on the new phone, please raise a Snowflake Support ticket to get the new phone re-enrol with the DUO push.
Upvotes: 0