I get an error 500 when I am trying to get attachments from invoices.
API call used is :
An invoice with no pdf generated will give you these issues.
Regenerate the invoice to recreate the pdf.
Please contact Kaseya Support if you continue to receive this error