err: document_invalid_structure - Invalid document structure: Missing required attribute "longitude"
- 0
- Databases
- Web
- Cloud
Running into a bit of a weird error with Appwrite Cloud v.1.4.7:
I'm trying to create documents with the node sdk via a next.js api route, but I'm recieving this error;
{
code: 400,
type: 'document_invalid_structure',
response: {
message: 'Invalid document structure: Missing required attribute "longitude"',
code: 400,
type: 'document_invalid_structure',
version: '0.11.17'
}
Which would make sense if longitude was actually missing, but what's actually happening is that it's throwing the error and then proceeding to create the document afterwards - including the longitude value...
the document type has 16 attributes so I'm thinking it's possibly returning a response after the request is queued but not completed because it's taking longer than expected or something, any help would be great thank you!
what's your code?
and are you using relationships?
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...