···42 }
43 }
4445+ /**
46+ * @see https://github.com/bluesky-social/atproto/blob/255cfcebb54332a7129af768a93004e22c6858e3/packages/pds/src/actor-store/preference/transactor.ts#L24
47+ */
48+ if (
49+ raw.includes('Do not have authorization to set preferences') &&
50+ raw.includes('app.bsky.actor.defs#personalDetailsPref')
51+ ) {
52+ return {
53+ raw,
54+ clean: _(
55+ msg`You cannot update your birthdate while using an app password. Please sign in with your main password to update your birthdate.`,
56+ ),
57+ }
58+ }
59+60 if (raw.includes('Bad token scope') || raw.includes('Bad token method')) {
61 return {
62 raw,
+9
src/lib/strings/errors.ts
···18 ) {
19 return t`The server appears to be experiencing issues. Please try again in a few moments.`
20 }
00000000021 if (str.includes('Bad token scope') || str.includes('Bad token method')) {
22 return t`This feature is not available while using an App Password. Please sign in with your main password.`
23 }
···18 ) {
19 return t`The server appears to be experiencing issues. Please try again in a few moments.`
20 }
21+ /**
22+ * @see https://github.com/bluesky-social/atproto/blob/255cfcebb54332a7129af768a93004e22c6858e3/packages/pds/src/actor-store/preference/transactor.ts#L24
23+ */
24+ if (
25+ str.includes('Do not have authorization to set preferences') &&
26+ str.includes('app.bsky.actor.defs#personalDetailsPref')
27+ ) {
28+ return t`You cannot update your birthdate while using an app password. Please sign in with your main password to update your birthdate.`
29+ }
30 if (str.includes('Bad token scope') || str.includes('Bad token method')) {
31 return t`This feature is not available while using an App Password. Please sign in with your main password.`
32 }