Syntax error 800A03EA attempting to do esri.request

Discussion created by ajlgeek on Jul 26, 2011
Latest reply on Jul 26, 2011 by ajlgeek
I'm using ArcGIS 10.02 and the Javascript API 2.0.

I'm attempting to use esri.request to call deleteFeatures on a FeatureLayer.
[PHP]        esri.request({
            url: 'http://localhost/ArcGIS/rest/services/DevelopmentReviewFeatureService/FeatureServer/0/deleteFeatures',
            postData: 'where=' + escape('EXTERNALFILENUM=1238456'),
            load: function (data, io) {
                // success
            error: function (error) {

This does end up deleting the features, but it always returns a 800A03EA syntax error.

This request is being done through an ASP.NET proxy - when I do the same thing with dojo.xhrPost, which doesn't use the proxy, I don't get the error.

Anyone know why I'm getting this?

- Andrew