Closed Bug 1214661 Opened 10 years ago Closed 10 years ago

"TypeError: res.json is null" when trying to use SyncEngine with a new Sync account.

Categories

(Firefox OS Graveyard :: Sync, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S9 (16Oct)

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

Attachments

(1 file)

I am getting that error from kinto.js when trying to use the SyncEngine with a new Sync account. That seems to come from https://github.com/Kinto/kinto.js/blob/b522b62a86449acc7b962c039f40ad5787fbd49b/src/api.js#L189
Assignee: nobody → ferjmoreno
Blocks: fxos-sync
Target Milestone: --- → FxOS-S9 (16Oct)
Blocks: 1205292
I'll add a new type for this to `unrecoverableErrors` in https://mxr.mozilla.org/gaia/source/shared/js/sync/errors.js
Assignee: ferjmoreno → mbdejong
Target Milestone: FxOS-S9 (16Oct) → FxOS-S10 (30Oct)
Do not hijack my bug :P I'll use this for the kinto.js issue.
Assignee: mbdejong → ferjmoreno
Target Milestone: FxOS-S10 (30Oct) → FxOS-S9 (16Oct)
Attached file kinto.js PR
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
We should remember to update to the latest Kinto.js release at some point during this sprint.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: