Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Imagery and Remote Sensing Insights (IRIS) COP
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
Europe
Comunidad GEOTEC
Asia Pacific
Americas
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
JavaScript Maps SDK
:
JavaScript Maps SDK Questions
:
Syntax error 800A03EA attempting to do esri.reques...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Syntax error 800A03EA attempting to do esri.request
Subscribe
910
1
07-26-2011 02:42 PM
by
AndrewLangemann
New Contributor
07-26-2011
02:42 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
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) {
console.log(error.message);
}
});[/PHP]
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
Tags
(2)
Tags:
javascript
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Reply
by
AndrewLangemann
New Contributor
07-26-2011
03:06 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I got this figured out - my request was returning HTML, so I added "f=json" to the postData and now it is returning as JSON.
Reply
0
Kudos
Post Reply