โ08-08-2023 09:51 AM
Hi I am trying to get all attachments in Agiloft for a contract.
So far it is only letting me fetch just one attachment.
This works if a contract has only one attachment, but in case of multiple ones it fails.
I did try For each Loop and other conditions but it seems to be failing after getting the first attachment.
Here is the error:
Error occured when trying to get attachment: EWWrongDataException has occurred: [default task-79690][1691512978022] Blob field id in table attachment does not contain 2 files, but less (1) for key 5,384 at line: 1125
Solved! Go to Solution.
โ08-10-2023 09:46 AM
I resolved this. In the File Position parameter it should always be zero.
โ08-08-2023 01:10 PM
Error clearly says there is only one ID and doesn't contain 2 files.
Try with another record.
โ08-10-2023 09:46 AM
I resolved this. In the File Position parameter it should always be zero.