Closed MariaMozgunova closed 1 year ago
@MariaMozgunova can you submit a support ticket (or write back on your existing support ticket) for this issue? As far as I know the GET request does not need to be made in any special way, so there is probably something else causing the request to fail; support would be best positioned to troubleshoot and investigate why this API call didn't succeed.
I contacted Plaid Support.
It turned out that the download URL expires after a few minutes after calling /credit/payroll_income/get
.
Thank you for your response!
Hello,
Thank you for your great work and the library you are building.
I have a question related to the best practices to download income documents. An income document URL is returned from the endpoint
/credit/payroll_income/get
in the fielddownload_url
.What would be the best approach to download a document at
download_url
?Plaid support told me I can do with a simple GET request. Should it be
requests.get
or there is some method in the Python Plaid client library?I am asking because if the plain GET request would work then I as well could see a document by opening a link in the browser. However, I see an error instead:
Best regards, Maria