Skip to content

SSL: CERTIFICATE_VERIFY_FAILED #201

@vivaelnino9

Description

@vivaelnino9

Hi!

I have a private app set up with shopify and I'm trying to make a Django app that uses the Shopify Python API however I can't seem to get passed step 6 in the Getting Started instructions!

shop_url = "https://%s:%s@SHOP_NAME.myshopify.com/admin" % (API_KEY, PASSWORD)
shopify.ShopifyResource.set_site(shop_url)
shop = shopify.Shop.current()

Above is all I have put in, obviously with my shop name and api credentials filled in, however when it gets to that last line I get an SSL error:

pyactiveresource.connection.Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>

I have a decent understanding of what the error is but I don't understand why I'm getting it when I know for a fact I'm using the right credentials and following the instructions properly.

Anyone have an ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions