[third-party-datastore] improve error handling (#26881)

* [third-party-datastore] use generic serializer for dropboxError

The `err` serializer will not pick up all the dropbox fields.

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [third-party-datastore] handle user_suspended like insufficient_space

Unlink dropbox and display a notification (same key to clear later).

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [third-party-datastore] skip retries when rejected with disallowed_name

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [web] sort translations

* [web] update copy for dropbox_unlinked_because_suspended

Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com>

---------

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com>
GitOrigin-RevId: 8fbb9074d1d6eb879e904d79dd4b2a2c952ff902
This commit is contained in:
Jakob Ackermann
2025-07-22 08:07:13 +00:00
committed by Copybot
co-authored by Thomas Mees Kamal Arkinstall
parent b1880ba64d
commit 0546fb7233
2 changed files with 2 additions and 0 deletions
@@ -74,6 +74,7 @@ async function main() {
'dropbox_email_not_verified',
'dropbox_unlinked_because_access_denied',
'dropbox_unlinked_because_full',
'dropbox_unlinked_because_suspended',
// Actually used without the spurious space.
// TODO: fix the space and upload the changed locales