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
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...
- DNS bug
Hello, we found bug at the Appwrite Cloud Domains, when changing **only ** the Comment of CNAME, we get error DNS record already exists. Some DNS types do not ...