Getting error when posting json data in Web Map as Json field.
Unable to complete operation.
Error executing tool. Export Web Map Task : Web map has invalid JSON. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).
Please see json data -
"mapOptions": {
"extent": {
"xmin": -12933906.537,
"ymin": 3993856.886,
"xmax": -12933371.998,
"ymax": 3994375.189,
"spatialReference": {
"wkid": 102100
}
},
"scale": 1234.5,
"rotation": -45,
"spatialReference": {
"wkid": 102100
},
"time": [
1199145600000,
1230768000000
],
"background": {
"color": [51, 227, 200, 255]
}
}
I did validate Json data and found no issues. This format is in sync with ExportWebMap specification—ArcGIS Server | Documentation for ArcGIS Enterprise