Monday, April 11, 2011

Data at the root level is invalid. Line 1, position 1.


Error while processing xml response of Bing Map Spatial Services upload job

Problem: Data at the root level is invalid. Line 1, position 1.

Solution: Please specify the response format while sending request. By default load data source job return response in JSON format.
For XML please don’t miss to specify the out format shown below.
http://spatial.virtualearth.net/REST/v1/Dataflows/LoadDatasource/f8293dc72ac04942b7cb003c9608c547?o=xml&key=b1c323ea23d99d267d99d267bbb814




No comments:

Post a Comment