AnsweredAssumed Answered

Cannot access my portal usinhg arcgis python api

Question asked by xzhang_va on Mar 16, 2017
Latest reply on May 7, 2018 by aug_aug

I'm trying to access my portal using ArcGIS Python API

code below(portalAdminUser is the build-in user)


import arcgis
from arcgis.gis import GIS

portalUrl = ""

portalAdminUser = ""

portalAdminUserPassword = ""



arcgis = GIS(portalUrl, portalAdminUser, portalAdminUserPassword)



But I'm getting error message "URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>"


It works fine when I use portalpy.


anyone has idea what the issue is?