konosp/adobe-analytics-reports-api-v2.0

SSL CERTIFICATE ERROR

Opened this issue · 0 comments

Hi,
When I run data = aa.get_report_multiple_breakdowns(), I get this error -
SSLError: HTTPSConnectionPool(host='ims-na1.adobelogin.com', port=443): Max retries exceeded with url: /ims/exchange/jwt (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))
My analysis: I checked the backend code on how this method is being called. As per my understanding, at a certain point its trying to authenticate my request, which I don't want because I am handling JWT and access token part in a separate script. So now, I already have access token with me, and using that(along with other credentials) all I want is report, bypassing authentication part.
If I add verify=False, data = aa.get_report_multiple_breakdowns(verify=False), then i get this error -
TypeError: get_report_multiple_breakdowns() got an unexpected keyword argument 'verify'
Kindly help. TIA