#[Bug] Appwrite Auth User Prefs
5 messages · Page 1 of 1 (latest)
The error is a TypeError: Cannot convert object to primitive value happening inside the .map() on line 26 likely because one of the preference keys is an object instead of a plain string, so String(key) is blowing up.
The createPrefRow call is probably receiving a bad key shape from Object.entries($user?.prefs), which would also explain why preferences appear blank.
Are you able to share the full updatePrefs.svelte file, or at least what the raw $user.prefs object looks like in your data?
using the dart sdk I fetched the users pref and it a json object with no errors