seems same error even after restarting
got to check logs now I guess
let me know!
btw what is this Warning about after every restart, it only happening since I guess 1.3.0 update, I might be wrong I didn't noticed this earlier
WARN[0000] The "ew" variable is not set. Defaulting to a blank string.
WARN[0000] The "m" variable is not set. Defaulting to a blank string.
WARN[0000] The "ew" variable is not set. Defaulting to a blank string.
WARN[0000] The "m" variable is not set. Defaulting to a blank string.
WARN[0000] The "ew" variable is not set. Defaulting to a blank string.
WARN[0000] The "m" variable is not set. Defaulting to a blank string.
[Error] Timestamp: 2023-05-16T09:20:55+00:00
[Error] Method: POST
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
[Error] Type: PDOException
[Error] Message: Table 'appwrite._3_' doesn't exist
[Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
[Error] Line: 64
saw these
Not sure about this. Maybe one of the devs will be able to help
mm, I guess I try to dig deeper to see what is the cause
seems after couple of document creation it's started happening again... I just created the project from scratch and seems to still happen again
seems one pattern, so If I dont pass the child document then document is getting created but if child doc is passed then it will show error
Did you delete anything when you recreated the project? How exactly did you recreate it?
I've seen this happen when things were deleted/modified such that the related collection IDs were incorrect or the related collections no longer exist
created new project from scratch... And, actually there should not be any issue with missing id I guess because it's 2 way link between, A <-> Z
so, when try to link A -> Z
is not working getting500 server error
when try to link Z -> A
side it's seems working..
what do the docker logs for the appwrite container say for the 500 error?
I have checked it after yestarday, I will check it post back here
btw it seems to work now for some reason after I deleted old document and tried creating new to check logs
however now, wiredly getting permission error, even when i have granted the access to all user to read, create & update π
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents/:documentId
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: The current user is not authorized to perform the requested action.
appwrite | [Error] File: /usr/src/code/app/controllers/api/databases.php
appwrite | [Error] Line: 3295
it could be related collection
like collection relationship collection ? btw even for that have granted all 3 permissions
is it like mandatory to pass all the attributes while updating? or just passing only changed attributed works?
only changed is fine
even for all related collections? like pincode?
this solved...
[SOLVED] 500, getting Server Error while trying to create new document
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.
- Seed db
hello there... is this correct way to seed appwrite