Rank 1: Thread
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!