Good Day
I'm trying to print a large view of ~4600 segment, after pressing the print button, which executes the following function:
printMap() {
try {
const printTask = new PrintTask();
printTask.url = 'https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task';
const template = new PrintTemplate({
format: 'jpg',
layout: 'a4-landscape',
});
const params = new PrintParameters({
view: this._view,
template: template
});
this.printProgress = true;
printTask.execute(params).then((result) => {
this.printProgress = false;
window.open(result.url);
}, (err) => {
this.printProgress = false;
this.alert.errorDialog('Print Error', 'Please try again or contact support!');
});
} catch (error) {
console.log(error);
}
} I get 'cancelled' in the network tab of the Dev Console:

I'm assuming this is a timeout issue, due to the amount of data being sent, is there a way to add a timeout override to the execute call? Is there an upper limit to the amount of data you can push from a client side ArcGIS JS Map to the Print Service?
Thanks