How exactly are Import PreMap hooks processed?

I've created quite a few preMap scripts without ever encountering this error:

Code: user_input_error
Message: [413]request error: request entity too large

The script is dead simple, in fact I suspect I could remove all the code and I'd still get this error because it seems to be a problem with the size of the INPUT data (i.e. what's being pass in to parameter

options.data

We're tried reducing the batch size but it has no impact. There are approximately 1,000 records being processed; hardly a massive data set.

[413]request error: request entity too large

HTTP code 4113 is a "Payload too large" error: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413

It seems the script is being sent off for processing and whatever server is receiving it has a too-small size cap.

Anyone else encounter this?

Hi @steveklett,

Sorry for the delay in response. I'm checking with our experts. Please let us know if you've found something that works!