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
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- 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.