
so im getting an error with appwrite assistnat, here's the logs for main docker container
Worker 1 started successfully
[Error] Timestamp: 2023-08-31T15:42:50+00:00
[Error] Method: GET
[Error] URL: /v1/teams/:teamId
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Team with the requested ID could not be found.
[Error] File: /usr/src/code/app/controllers/api/teams.php
[Error] Line: 204
[Error] Timestamp: 2023-08-31T15:43:01+00:00
[Error] Method: GET
[Error] URL: /v1/teams/:teamId
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Team with the requested ID could not be found.
[Error] File: /usr/src/code/app/controllers/api/teams.php
[Error] Line: 204
[Error] Timestamp: 2023-08-31T15:43:13+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:21+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:22+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:22+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:22+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:23+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:23+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:23+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475
[Error] Timestamp: 2023-08-31T15:43:24+00:00
[Error] Method: POST
[Error] URL: /v1/console/assistant
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (assistant.read)
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 475

Are you on v1.4.1?

are you logged in? 🧐

yes

oh and ssl broke aswell

yes to which question?

both

i can give you access to it, its on a dropplet i deployed for testing 1.4 also same issue happened even after a re-install

how are you accessing your droplet?

ssh

also i setup a domain

so your domain is configured in the .env file, right?

yes

want me to dm you them ?

oh not do its on gcp

would you please open your browser dev tools, switch to the network logs and find the /v1/console/assistant
request? then, please share the request headers

ook

POST /v1/console/assistant HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,ar;q=0.8
Connection: keep-alive
Content-Length: 15
Cookie: _ga=GA1.1.832497037.1693512099; a_session_console_legacy=eyJpZCI6IjY0ZjBiMzQ2YzA4Yzg2NTY2YWQ1Iiwic2VjcmV0IjoiYzZlZjlmNGU4ZTBiZTkwN2RkYzg2ZmM1OWQ2ZDdjZWNmMjA1NGI0ZjhhMjNmOTQzZTdkNTY2MGVjYjM1YTdmYjQyNGQ4NmJjYmYxYzc0ZWI2N2UzMWFmYWQ4OGY5MzUxODg0ZGEyNjhkNzIyMTczM2FmNDNiMjU5MzhmOWE5OTIwOTc0M2Q4ZmMxN2ZlNzk0NTY3Yzg0NDFiOTNhMjg4YzdkY2RjZTUzMWM3ODU2NTE4MTQ3ZTIyOTg3MDA0ZDRhN2E1ODM2MzJlNmQ0OTE1YzI3NGU0ZDE4NWMxOGUxNWNkN2U3ODhjNmVjM2MyNDI1M2U0ODllMzIwNTA5MTkxMiJ9; _ga_R4YJ9JN8L4=GS1.1.1693512099.1.1.1693512601.0.0.0
Host:
Origin:
Referer:
Sec-GPC: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
content-type: application/json
x-appwrite-mode: admin

and this resulted in 401?

yes

{
"message": "User (role: guests) missing scope (assistant.read)",
"code": 401,
"type": "general_unauthorized_scope",
"version": "1.4.1"
}```
Recommended threads
- `access_denied_to_user` - push new branc...
Why pushig new branch is not allowed? ``` git push origin fix-no_issue_id-fix_variable_name remote: {"auth_status":"access_denied_to_user","body":"Permission t...
- REQUEST FAILED IN MIGRATION
I was trying to moved my archived project to a self-host database . Though the Project is "read only" but there's a message that I can view and migrate data to...
- Is it possible to getRow with all relati...
With the new Opt-In relationship loading, is it possible to query getRow to get all attributes and relationships and possibly even cascading relationships? I tr...
