We were using the print widget just fine on arcgis/core 4.33.
After Upgrade to 4.34 we are facing this issue:
ERROR 000590: WebMap_as_JSON ist leer.\nWebkarte weist ungültige JSON auf.\nFehler beim Ausführen von (Export Web Map).Saying the WebMap_as_JSON would be empty.
In the frontend it only shows this ugly error:
SebastianKrings_0-1768397451530.png
The Network Tab of DevTools give some more Info:
SebastianKrings_1-1768397543539.png
Dunno if this of interest but Print_de.json looks like:
SebastianKrings_2-1768397601619.png
Units_de.json:
SebastianKrings_3-1768397634729.png
GPServer:
SebastianKrings_4-1768397733786.png
Except to change to WebComponent instead of Widget I have no clue what to do.
Solved! Go to Solution.
Turns out the "/execute" at the end of the print url is not "supported" any more in newer ArcGIS Version.
old URL (not working any more):
https://my.machine.local/server/.../GPServer/Export%20Web%20Map/executenew URL (working Properly):
https://my.machine.local/server/.../GPServer/Export%20Web%20Map
Turns out the "/execute" at the end of the print url is not "supported" any more in newer ArcGIS Version.
old URL (not working any more):
https://my.machine.local/server/.../GPServer/Export%20Web%20Map/executenew URL (working Properly):
https://my.machine.local/server/.../GPServer/Export%20Web%20Map