Downloading Attachments

Hi,

I’m encountering the following transient issue while downloading a bank transaction explanation attachment:

  1. GET https://api.freeagent.com/v2/bank_transaction_explanations/:id
  2. Returns a single bank transaction explanation with an attachment
  3. Send GET request to the attachment content_src (URL to the original full-size file)

The request to content_src occasionally returns an OK response with the attachment content as expected, however, other times it returns a Forbidden, despite calling the same content_src endpoint.

I did notice the expires_at ( When the content_src URLs expire. New URLs should be fetched from the API once this timestamp passes.) is always one hour in the past, however, this is always the case for both scenarios (OK and Forbidden).

Any ideas?

Thanks.

1 Like