···4242 }
4343 }
44444545+ /**
4646+ * @see https://github.com/bluesky-social/atproto/blob/255cfcebb54332a7129af768a93004e22c6858e3/packages/pds/src/actor-store/preference/transactor.ts#L24
4747+ */
4848+ if (
4949+ raw.includes('Do not have authorization to set preferences') &&
5050+ raw.includes('app.bsky.actor.defs#personalDetailsPref')
5151+ ) {
5252+ return {
5353+ raw,
5454+ clean: _(
5555+ msg`You cannot update your birthdate while using an app password. Please sign in with your main password to update your birthdate.`,
5656+ ),
5757+ }
5858+ }
5959+4560 if (raw.includes('Bad token scope') || raw.includes('Bad token method')) {
4661 return {
4762 raw,
+9
src/lib/strings/errors.ts
···1818 ) {
1919 return t`The server appears to be experiencing issues. Please try again in a few moments.`
2020 }
2121+ /**
2222+ * @see https://github.com/bluesky-social/atproto/blob/255cfcebb54332a7129af768a93004e22c6858e3/packages/pds/src/actor-store/preference/transactor.ts#L24
2323+ */
2424+ if (
2525+ str.includes('Do not have authorization to set preferences') &&
2626+ str.includes('app.bsky.actor.defs#personalDetailsPref')
2727+ ) {
2828+ return t`You cannot update your birthdate while using an app password. Please sign in with your main password to update your birthdate.`
2929+ }
2130 if (str.includes('Bad token scope') || str.includes('Bad token method')) {
2231 return t`This feature is not available while using an App Password. Please sign in with your main password.`
2332 }