GetFileData: "The object does not have the specified file attachment?" What? Yes it does.
I'm trying to use the CWSS method GetFileData to get the data of an incident file attachment. It's almost working, except I get the following exception:
System.ServiceModel.FaultException: "The object does not have the specified file attachment"
See attached screenshot for the (relevant) code. Incident ID 741 has FileAttachment ID 807, I can confirm this with a simple report, but nevertheless I keep getting this same error. The attachment is not marked as private. What am I missing?