Upload attachments to the ticket when using secure downloads option in Admin center | Community
Skip to main content

Upload attachments to the ticket when using secure downloads option in Admin center

  • May 7, 2024
  • 3 replies
  • 0 views

Leafworks12

Hi everyone, 

Is there a way to fetch attachments via ZAF Client or any other way when the enable secure downloads option in ticket settings is on?

We already see that this method works for side conversations, but applying ZAFClient.request to fetch or upload attachments results in an error

3 replies

Tipene
  • May 30, 2024
Hey there,
 
Just so I'm on the same page, are you referring to the secure attachment functionality as outlined here? Also, could you share the type of error you're seeing when using the client.request method tho fetch the attachments?
 
Thanks,
 
Tipene

Luhung
  • June 5, 2024

Soo, is zaf client request can handle to upload with multipart/form-data ? 

 

I want to upload an attachment with sunshine conversation upload attachment API.. I send file from input file selection ( inputfile.files[0] ) with FormData().. And i get “resource not found” From response.. How the best practice to my case? 


Tipene
  • June 10, 2024

Hi Luhung,

Can you share the relevant portion of your code so I can take a look at your implementation in more detail? Be sure to redact any sensitive information.

Thanks,

Tipene