Closed brendanartley closed 2 years ago
Connector is using aiohttp instead of requests so I think this might be the issue although I cannot reproduce the issue on my side..
Are you using Windows? It looks like the issue might have a similar cause to this one https://github.com/Rapptz/discord.py/issues/4159.
@Rapptz's solution worked. Thank you!
Describe the bug
I am trying to use the dataprep.connector with the NHL API that does not required API Keys.
NHL_API Documentation
I am get a response with no errors when I use the requests module like in the following code block.
Yet when I try and do the same with the dataprep.connector, I am getting a SSLCertVerificationError and a ClientConnectorCertificateError.
My config file is very simple and looks like the following.
I dont see why this would work without errors with the requests module and not with the dataprep.connector? If anyone knows why this was the case let me know!
Desktop (please complete the following information):
Additional context
I have tried the following to fix the error so far.
Making sure I am using the most up to date certifi version
pip install certifi --upgrade
Attempting the API call with both http and https