Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Response codes

These are the error response codes used by various services, including Sync.

Server-produced Response Codes

CodeDescription
1Illegal method/protocol
2Incorrect/missing CAPTCHA
3Invalid/missing username
4Attempt to overwrite data that can’t be overwritten (such as creating a user ID that already exists)
5User ID does not match account in path
6JSON parse failure
7Missing password field
8Invalid Weave Basic Object
9Requested password not strong enough
10Invalid/missing password reset code
11Unsupported function
12No email address on file
13Invalid collection
14(1.1 and up) User over quota
15The email does not match the username
16Client upgrade required
17Size limit exceeded

Infrastructure-produced Response Codes

These response codes are generated by the Mozilla Services infrastructure, particularly the load balancers. They will not occur in self-hosting scenarios.

If you observe these values in a 503 response in Sync logs, please file an issue: Syncstorage-rs GitHub Issues.

These codes are temporarily a mixture of strings and numeric values. This inconsistency may be resolved at a future date.

CodeDescription
"server issue: pool exhausted"An unexpected server error occurred: pool is empty.
"server issue: getVS failed"
"server issue: prefix not set"
"server issue: host header not received from client"
"server issue: database lookup failed"
"server issue: database is not healthy"
"server issue: database not in pool"
"server issue: database marked as down"