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
This should throw CloudEventMissingFields("Invalid data field") or similar descriptive error
Actual Behavior
First, from_http attempts to read this event as a structured event.
Because there is nothing inside data, it fails to unmarshal'. Therefore it runs json.loads("") because it expects data to be a json string with cloud event extensions.
Finally you get a json decoder error which is difficult to debug
The text was updated successfully, but these errors were encountered:
Expected Behavior
This should throw CloudEventMissingFields("Invalid data field") or similar descriptive error
Actual Behavior
First, from_http attempts to read this event as a structured event.
Because there is nothing inside data, it fails to unmarshal'. Therefore it runs
json.loads("")
because it expects data to be a json string with cloud event extensions.Finally you get a json decoder error which is difficult to debug
The text was updated successfully, but these errors were encountered: