Answered

Get File Attachments issue

Hi All,

We are getting file attachments for Contacts, Leads and other objects with the API:

https://api.insightly.com/v3.1/Help#!/Contacts/GetFileAttachments https://api.insightly.com/v3.1/Help#!/Leads/GetFileAttachments

And successfully get some files for contacts, but not for all, there are some contacts IDs that have file attachments visible on the Insightly UI but we get empty JSON array by calling the API, and the same with all the Lead's - just empty JSON array.

There are also cases when we get not all files for contact. 

How such issues could be troubleshooted? Can it be some security issue? 

 

Thanks,

     Roman

1

Comments

1 comment
  • Official comment

    Hi Roman,

    You are correct. Since Insightly only hosts files, if the original file itself is barred by security/authorization, then the user in question will not be able to download or export it with the API. 

    Comment actions Permalink

Please sign in to leave a comment.