You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] TypeError: list indices must be integers or slices, not str
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 60, in lambda_handler
payloads.append(ProcessPayload(payload, update=True))
File "/var/task/cirrus/lib/process_payload.py", line 59, in __init__
self.update()
File "/var/task/cirrus/lib/process_payload.py", line 155, in update
self['id'] = f"{collections_str}/workflow-{self.process['workflow']}/{items_str}"
If no
idis specified in the input payload, then we run https://github.com/cirrus-geo/cirrus-lib/blob/main/src/cirrus/lib/process_payload.py#L154. However, if we are also using aprocessarray for workflow chaining, the line assigning theidfails with the following traceback: