Was working previously now is giving an error. I'm trying to upload a file (image) and link it to a collection of images. Is something wrong on my end or?
👀 Can I see how you're calling the SDK?
Could definitely be on our end, lemme tag a few people to take a peek.
const newCoverImage = await databases.createDocument(
appwriteConfig.databaseId,
appwriteConfig.coverImageCollectionId,
ID.unique(),
{
UserID: image.userId,
CoverImageURL: fileUrl,
CoverImageID: uploadedFile.$id
}
);```
this is where im getting the error. I've console.log all of the data and everything is correct, it's jsut failing to upload. database id and collection id are correct as well.
project ID: 6550f618e99317277bfd
I'll make sure someone takes a look 🙂
Btw what's supermarket simulator?
👀
haha, you literally just open a litle supermarket and run it. gotta store things and make price tags etc.. my mom has been on my account for like 2 weeks playing it. i bought it for her so she wouldn't be so bored lol!
Recommended threads
- Chat App with Appwrite
Hey guys, I'm adding a chat feature to my app, to some extent alot of things is working work fine, but i have an issue i want to be able to check on the status ...
- User (role: guests) missing scope (accou...
Hi guys, currently facing issue on get current session using get account sdk. Issue: User (role: guests) missing scope (account) This error happen when i call...
- Attribute processing
since about 2 hours ago i'm unable to add an attribute to my collection due to it being stuck in processing, i have tried creating and deleting collections and ...