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
{{ message }}
Repository navigation
REST turns every ValueError into a 400 that echoes the exception text #209
The REST app registers a 400 handler for every ValueError and NotImplementedError and puts str(exc) in the response. A server fault that raises ValueError, such as a wrong SQLCipher key, reaches the client as a client error carrying the internal message.
Only InvalidCursorError needs that handler, and no REST route raises NotImplementedError.
We could register the 400 handler for InvalidCursorError alone and drop the NotImplementedError one, so other errors go to the generic 500 handler.
Activity
fix(rest): return 400 only for an invalid cursor (#254)
github-actions commentedon Nov 20, 2026
Merged to
stagingin #254, and it will ship in the next release.