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
TypeScript
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.Recommended threads
- Is permission changes tied to the column...
Hi, I'm evaluating appwrite for a project and through reading the documentation (I haven't coded/tested anything yet, just trying to have a grasp of the basic f...
- Scheduled functions (CRON) not firing — ...
Hi team — same symptom as a recent thread here where switching from a round cron expression to an offset-minute one fixed it. Project ID: 69fa56560037c7843a85 ...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...