Select to view content in your preferred language

Search Widget+RPC Fault faultString error

2562
2
Jump to solution
09-22-2014 08:56 PM
SaurabhGupta5
Frequent Contributor

I have migrated the modified search widget to Flex 3.6 from 2.X and Arc GIS Server 10.2.2, but when I want to make a buffer it return this error:

[RPC Fault faultString="Invalid or missing input parameters." faultCode="400" faultDetail="the input is not a geographic or projected coordinate system"]

what is the reason of this error?

Below are the parameters passed:

bufferSR=0

unionResults=true

inSR=3414

geometries={"geometryType":"esriGeometryPolygon","geometries":[{"rings":[[[30803.602299999955,31489.83940000087],[30814.99679999928,31475.538000000655],[30809.764599999995,31474.956700000905],[30807.439199999117,31478.21230000071],[30803.36970000009,31483.328199999396],[30802.788299999662,31486.93270000072],[30803.602299999955,31489.83940000087]]]}]}

f=json

unit=9001

distances=500

XML is having below tag

<spatialreference>3414</spatialreference>

Please help

0 Kudos
1 Solution

Accepted Solutions
SaurabhGupta5
Frequent Contributor

Hi Anthony,

Thanks for your quick reply but after drilling down onto issue, i have realized that if i change my spatialreference tag within xml to one shown below , its working

<spatialreference>3414</spatialreference>

To

<spatialReference>3414</spatialReference>

Regards

Saurabh

View solution in original post

0 Kudos
2 Replies
AnthonyGiles
Honored Contributor

Not sure if this is the reason for your error but I seem to recall when I moved from a 9.3.1 server to a 10.1 server the REST inputs required for a buffer to run slightly changed and the output spatial reference had to be specified where it previously didn't.

try making sure your outSR is specified.

0 Kudos
SaurabhGupta5
Frequent Contributor

Hi Anthony,

Thanks for your quick reply but after drilling down onto issue, i have realized that if i change my spatialreference tag within xml to one shown below , its working

<spatialreference>3414</spatialreference>

To

<spatialReference>3414</spatialReference>

Regards

Saurabh

0 Kudos