V2client : Not connecting to Testnet

I tried to access the Testnet via API (Purestake) the algosdk.v2client seems not connecting, and I only get error. But using v1 connects so fine.
What am I missing please. BTW, I’m not running a node or sandbox.

Did you update the URL (replacing ps1 by ps2) as specified in https://developer.purestake.io/apiupdates?

2 Likes

Oh @fabrice I actually did copied the URL directly from Purestake but didn’t pay attention to the changes. I’ll check now. Thanks.

Thank you Fabrice. It worked.