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
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...
- How do you contact support to cancel a s...
My nephew signed up with my CC without my permission and has forgotten the password to the account. I can't for the life of me get a hold of anyone at appwrite....
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard