Yep, looks like this is null for some reason: https://github.com/appwrite/appwrite/blob/master/app/controllers/api/databases.php#L3031
I see, should we wait for the next release?
Can you try please to select userPublic.* , instead of the 3 related attributes?
Yes, same error
2023-09-05 15:27:42 [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
2023-09-05 15:27:42 [Error] Line: 2166
2023-09-05 15:27:44 [Error] Timestamp: 2023-09-05T15:27:44+00:00
2023-09-05 15:27:44 [Error] Method: GET
2023-09-05 15:27:44 [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
2023-09-05 15:27:44 [Error] Type: TypeError
2023-09-05 15:27:44 [Error] Message: Utopia\Database\Database::getDocument(): Argument #2 ($id) must be of type string, null given, called in /usr/src/code/app/controllers/api/databases.php on line 3032
2023-09-05 15:27:44 [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
2023-09-05 15:27:44 [Error] Line: 2166 ```
Hmm I'm not sure if we support relationships in queries 🧐
It was working effortlessly in the headache-less 1.3.8 😁
something seems wrong with your collection...would you please share the output of the get collection api for your collection?
If this is a server-side operation, I'm unable to run it as my CLI is currently malfunctioning.
which version of the CLI? You can also get this by inspecting the network traffic on the Appwrite Console
Cli 3.0,
I'll check the second option
What am I supposed to look for 😬
you can downgrade to 2.0.2
get collection api call which is /v1/databases/{databaseId}/collections/{collectionId}
The 'init' function from version 2.0.2 generated one of those CLI error messages in the support post 🤐.
Perhaps I should wait for a new release
which?
Server Error
what's the docker logs for the appwrite container say?
2023-09-05 21:41:10 [Error] Method: POST
2023-09-05 21:41:10 [Error] URL: /v1/functions
2023-09-05 21:41:10 [Error] Type: Utopia\Database\Exception\Structure
2023-09-05 21:41:10 [Error] Message: Invalid document structure: Unknown attribute: "schedule"
2023-09-05 21:41:10 [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
2023-09-05 21:41:10 [Error] Line: 2619 ```
oh yes. i thought you were having problems with init project
I'm not satisfied with version 1.4x 😴
[SOLVED] Query.select Behavior Change in Version 1.4.1
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...
- 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...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...