Hi! I cant make an avatar with node-appwrite, because i always get an error that its in an invalid format when im trying to upload it to the database
const avatarURL = avatar.getInitials(name);
The attribute in the collection is a URL attribute
TL;DR
Developers are having trouble creating an avatar with node-appwrite due to an error stating it's in an invalid format when attempting to upload it to the database. The attribute in the collection is a URL attribute.
Solution: Make sure to check the format of the avatar data being uploaded and ensure it matches the requirements set by the database collection for URL attributes.