Quantcast
Viewing all articles
Browse latest Browse all 2504

GetFileData: "The object does not have the specified file attachment?" What? Yes it does.

Topic by Mike Waldron

Content

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? 

Image

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 2504

Trending Articles