Back

Cant make an avatar with node-appwrite

  • 0
  • Databases
  • Cloud
zombikaa
20 Dec, 2024, 20:20

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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more