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
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itβs mention that only setup client with endpoint / api key is enou...
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...