Skip to main content

Hello,

We’re using Faraday + s3 links provided by the Freshdesk API when fetching tickets.  We’re able to download ticket attachments but are not sure what format they’re in when they arrive.

We need to be able to encode/decode these ticket attachments and save them to our own s3 instance.  These will be PDFs exclusively.

 

Is this something we need to change in the Faraday settings?

Hi ​@kcorley,

Firstly apologize for the delay. I understand that you have couple of doubts related to attachment format. 

When fetching ticket attachments using the Freshdesk API, the attachments are retrieved in their native format. Since you mentioned that these are exclusively PDFs, no changes or encoding/decoding are required in the Faraday settings unless you're experiencing specific issues with the file format during transmission or storage in your S3 instance.

If further assistance is required to confirm the headers or handling method, reviewing your Faraday library implementation and the API integration may help resolve the issue.

Thank you !!