Is anybody willing to help me and set properly the DB and collection already created? I have to upload an existing JSON I use locally with the React app.
I am not familiar with the DB. I can pay $20 by Paypal for a video call. If you agree the audio and video must great quality.
See the JSON attached
I got this message after the prompt node uploadToursToAppwrite.js
code: 400,
type: 'document_invalid_structure',
response: {
message: 'Invalid document structure: Unknown attribute: "mainImage"',
code: 400,
type: 'document_invalid_structure',
version: '0.12.113'
}
}
Does main image exist on your collection?
nope
I have problem how to create the JSON. is not complex for me frontend side but quite cokplext with Appwrite beacuase I am new wiht the app
May you help me?
Heyo!
As it says, your attribute "mainImage" is missing.
Go to the collection you want to work with and make sure the attribute mainImage
exists.
Follow this guide: https://appwrite.io/docs/products/databases/quick-start
ok! None of the attribute is in the collection which is empty.
Make sure to add attributes. Check out the link I posted, it shows a quick overview of how appwrite databases work!
also it's cAsE sEnSiTiVe
how to create this: "itinerarySteps": [ { "stepTitle": "Hotel Pickup", "stepDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit." }, { "stepTitle": "Hotel Pickup", "stepDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit." }, { "stepTitle": "Hotel Pickup", "stepDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit." } ]
It coudl be a stupid question but I am bit disoriented.
Create 3 documents, with 2 attributes both strings called stepTitle and stepDescription
(create the attributes first)
Recommended threads
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Cancelling Pro account and billing perio...
Is it possible to switch back to a free account and cancel a billing period. i switched to pro version for a day and realised i don't need it and i want to retu...