Select to view content in your preferred language

Error Code 500 when using arcgis 10 html form to test Add Features

10340
10
11-16-2010 10:18 AM
LawrenceSullivan
Emerging Contributor
Hi,
I am trying to add an array of features to my feature layer using the HTML form that is provided with ArcGIS 10 server for testing.

Here is the JSON I am posting:
[
    {
      "geometry" : {
        "x" : 485957.69069999998,
        "y" : 4985021.4280000003
      },
      "attributes" : {
        "ADD_ID_NAT" : "02396435-ADDR0009999",
        "ADD_ID_LOC" : "ADDR0009999",
        "ANUMBER" : 25759,
        "ST_NAME" : "Fairview TEST TEST TEST",
        "ST_POS_TYP" : "Avenue",
        "ST_POS_DIR" : "North",
        "SUB_TYPE1" : "Unit",
        "SUB_ID1" : "250",
        "MUNI_NAME" : "Roseville",
        "MUNI_CODE" : "02396435",
        "USPS_PLACE" : "Roseville",
        "CO_CODE" : "123",
        "CO_NAME" : "Ramsey",
        "STATE_CODE" : "MN",
        "ZIP" : "55113",
        "RESIDENCE" : "No",
        "STATUS" : "A",
        "PIN" : "092923210009",
        "LONGITUDE" : -93.178224684,
        "LATITUDE" : 45.018504147500003,
        "POSI_ACCU" : 3,
        "ADIRSOURCE" : "Community Development",
        "AAUTHORITY" : "City of Roseville",
        "EDIT_ORG" : "City of Roseville",
        "UPDATEDATE" : 1289692800,
        "COMMENTS" : "test test test test"
      }
    }
]

Here is the error response:
{
  "error" :
  {
    "code" : 500,
    "message" : "An unexpected error occurred processing the request.",
    "details" : []
  }
}


I checked the log and the only info in it was   Method failed.HRESULT = 0x8004152a. This is unrelated. I got this error while doing a query on zip codes.  I can find no more details regarding my attemp to add features.

I have been able to update features from both my Silverlight client and the HTML test form...so I thought adding a feature would require very little effort.

Am I missing something obvious?
Any help would be greatly appreciated.

TIA,
Larry
10 Replies
BertrandLAURANCIN
Esri Contributor

Hello,

Bug NIM-088473 : Unable to edit reprojected data that participaties in a geometric network in a feature service ?!!?

Bertrand L.

0 Kudos