Max Batch TaskEnvironment Size

What is the max size of the TaskEnvironments field?

I have a job with ~300 tasks, and a TaskEnvironment definition specifying one Env var for each with a total size of a couple KBs for the entire field and am getting 500 errors returned.

There is no per field size limit. But the job definition itself has a limit of 1MB.

1 Like