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
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...