Rank 5: Hypervisor
seems same error even after restarting
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 5: Hypervisor
seems same error even after restarting
Rank 5: Hypervisor
got to check logs now I guess
let me know!
Rank 5: Hypervisor
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.
Rank 5: Hypervisor
[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
Rank 5: Hypervisor
saw these
Not sure about this. Maybe one of the devs will be able to help
Rank 5: Hypervisor
mm, I guess I try to dig deeper to see what is the cause
Rank 5: Hypervisor
seems after couple of document creation it's started happening again... I just created the project from scratch and seems to still happen again
Rank 5: Hypervisor
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
Admin
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
Rank 5: Hypervisor
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..
Admin
what do the docker logs for the appwrite container say for the 500 error?
Rank 5: Hypervisor
I have checked it after yestarday, I will check it post back here
Rank 5: Hypervisor
btw it seems to work now for some reason after I deleted old document and tried creating new to check logs
Rank 5: Hypervisor
however now, wiredly getting permission error, even when i have granted the access to all user to read, create & update 👀
Rank 5: Hypervisor
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
Admin
it could be related collection
Rank 5: Hypervisor
like collection relationship collection ? btw even for that have granted all 3 permissions
Rank 5: Hypervisor
is it like mandatory to pass all the attributes while updating? or just passing only changed attributed works?
Admin
only changed is fine
Admin
even for all related collections? like pincode?
Rank 5: Hypervisor
this solved...
Rank 5: Hypervisor
[SOLVED] 500, getting Server Error while trying to create new document