You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call the code here:
byte[] attachmentData = await loan.LoanApis.Attachments.DownloadAttachmentAsync(attachment!.AttachmentId!);
I get the error message
EncompassRest.EncompassRestException: GetDownloadAttachmentUrlAsync: / - 400: BadRequest - CorrelationId:
{"summary":"Bad Request","details":"Error creating attachment retrieve URI: Attachment with Id is not found for loanId "}
Please, any help would be appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Can anyone please provide me with some example code to download the loan attachments? Here's the code I've got so far:
IEncompassRestClient client =
Loan loan = await client.Loans.GetLoanAsync(loanGuid);
List loanAttachments = await loan.LoanApis.Attachments.GetAttachmentsAsync();
LoanAttachment attachment = loanAttachments.;
When I call the code here:
byte[] attachmentData = await loan.LoanApis.Attachments.DownloadAttachmentAsync(attachment!.AttachmentId!);
I get the error message
EncompassRest.EncompassRestException: GetDownloadAttachmentUrlAsync: / - 400: BadRequest - CorrelationId:
{"summary":"Bad Request","details":"Error creating attachment retrieve URI: Attachment with Id is not found for loanId "}
Please, any help would be appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered: