Thank you very much, quite eye opening. Now with multi-factor authentication (MFA), the code fails to authenticate into Salesforce. What changes are required in the code to take care of MFA.
Please work with your Salesforce Admin for permission settings and MFA. The code works on my end.
using your code pretty much verbatim for downloading a salesforce report I am getting a error thrown in requests: requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
Do you know if something has changed in the past couple months that would be causing so many redirects? If I copy sfUrl into a browser (that is also logged in) it does generate and download the report as expected...
The script is running successfully on our end. Please cross-check the salesforce instance name/url with your Salesforce Admin.
Thank you so much for your code to get report from salesforce, How can i apply filter on report to get only specific data.
using your code pretty much verbatim for downloading a salesforce report I am getting a error thrown in requests: requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
Do you know if something has changed in the past couple months that would be causing so many redirects? If I copy sfUrl into a browser (that is also logged in) it does generate and download the report as expected...
I am also experiencing this redirect issue. Any one come up with a solution?
Copying sfUrl and pasting into browser works.
Thank you very much, quite eye opening. Now with multi-factor authentication (MFA), the code fails to authenticate into Salesforce. What changes are required in the code to take care of MFA.