While adding attachments to feature layer giving error

Discussion created by on Oct 30, 2012
Latest reply on Oct 30, 2012 by njarecha-esristaff
In feature layer I am adding image as a attachments but it is giving error

"Error Domain=NSCocoaErrorDomain Code=400 "Unable to complete  operation." UserInfo=0x84784d0 {NSLocalizedFailureReason=Feature (ID: 1635) not found, NSURL=http://servername/ArcGIS/rest/services/DEVGIS/Violations/FeatureServer/1/1635/attachments?f=json, NSLocalizedDescription=Unable to complete  operation.}"

In my services has attachment is false.