Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestEntityTooLargeException exception thrown by start_execution_manager #2241

Closed
asjohnston-asf opened this issue May 2, 2024 · 0 comments · Fixed by #2242
Closed

RequestEntityTooLargeException exception thrown by start_execution_manager #2241

asjohnston-asf opened this issue May 2, 2024 · 0 comments · Fixed by #2242

Comments

@asjohnston-asf
Copy link
Member

asjohnston-asf commented May 2, 2024

[ERROR]    2024-05-02T19:43:05.951Z    45a949f4-9de2-417d-b272-c92c1bc0e7ed    Unhandled exception
Traceback (most recent call last):
  File "/var/task/lambda_logging/__init__.py", line 18, in wrapper
    lambda_handler(event, context)
  File "/var/task/start_execution_manager.py", line 35, in lambda_handler
    response = invoke_worker(worker_function_arn, jobs)
  File "/var/task/start_execution_manager.py", line 16, in invoke_worker
    return LAMBDA_CLIENT.invoke(
  File "/var/task/botocore/client.py", line 565, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/var/task/botocore/client.py", line 1021, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (RequestEntityTooLargeException) when calling the Invoke operation: 264496 byte payload is too large for the Event invocation type (limit 262144 bytes)

The start_execution_manager lamba invokes the start_execution_worker lambda with a list of job records. We've made a number of changes over the past months that increase the size of individual job records that can push the list over the 262144 bytes payload limit in certain circumstances:

  • 6.0.0 added a credit_cost field for each job
  • 6.1.0 began populating default values for all job parameters, rather than just those provided by the user
  • 7.1.0 added goldstein_filter_power, output_resolution, unfiltered_coherence, and dense_offsets parameters to INSAR_ISCE jobs

See #1676 and #1689 for more historical context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant