Open Bug 1840929 Opened 1 year ago Updated 1 year ago

Decide how to handle invalid API responses

Categories

(Firefox :: Shopping, task, P3)

task

Tracking

()

People

(Reporter: jhirsch, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

During the initial dev period, we are validating the server responses against a schema, but we're just dumping schema validation errors to the console, because both the API and the schemas are changing quickly.

When we get closer to release, we'll want to reassess whether it makes sense to handle invalid responses. Do we log a telemetry event?

We'll want to figure out the potential cases and actions we'd like to take, and tailor the code decision to help us keep server and client in sync.

Whiteboard: [fidefe-shopping]
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.