The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I believe that I have followed the install directions for placing the Canvas Data 2 Command Line tool on my machine. I've created my Canvas Data 2 API key.
I thought I would try out the simple command below, which is supposed to return a list of table names:
dap list --namespace canvas
But I get an error message:
2024-03-21 15:43:32,166 - ERROR - Cannot connect to host api-gateway.instructure.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')]
I see two other recent posts that have received no solutions:
Does this problem have a solution?
Are you using a Mac, by any chance?
We had this issue here and they solved it with the answer from this SO post:
I faced the same issue on MAC OS. My resolution: The issue was with my python installation. I went to theapplications/ pythonfolder and clicked on theinstall certificate commandit got fixed after that.
Jason
Did you ever find a solution to this? We're having the same problem that just started a few days ago, and the suggestions weren't applicable in our situation.
No solution yet!
I think we got it working. Someone who is more knowledgeable than me about certificates said he just pulled the cert from Canvas' site, and manually imported it into the Python cert keystore. It would be nice if Canvas would document those procedures, for the sake of people like me who don't work with certificates often.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in