Select to view content in your preferred language

While adding attachments to feature layer giving error

527
1
10-30-2012 04:02 AM
Sunitapatil
Emerging Contributor
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.
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
If your services has attachment is FALSE then you cannot attach attachments. You need to make changes in your feature class and then republish service. Please go through enabling attachments documentation.

Regards,
Nimesh
0 Kudos