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
The code attempts to access job.get('payload', {}).get('content', {}).get('size'), but it seems that the main payload dictionary does not have a content key.
Description:
The code attempts to access
job.get('payload', {}).get('content', {}).get('size')
, but it seems that the main payload dictionary does not have a content key.Example of a payload
As you may notice
content
dict is insideproperties
. This could lead to unexpected behavior or errors if the content key is expected to be present.Proposed Solution
Consider checking the presence of content inside
payload
or insideproperties
The text was updated successfully, but these errors were encountered: