
Hi, after an update from appwrite v1.5.4 to v1.5.5 i got my Settings page for a function that now thows an error 500 (Internal error).
While watching the devtools i found out i had this error : (img)
Error body response : example@example.com (role: admin) missing scope (projects.read)
And yes i ran the migrate
command on the main appwrite container

in the container i have thie error :
[Error] Timestamp: 2024-05-15T13:04:48+00:00
[Error] Method: GET
[Error] URL: /v1/project/variables
[Error] Type: Appwrite\Extend\Exception
[Error] Message: example@example.com (role: admin) missing scope (projects.read)
[Error] File: /usr/src/code/app/controllers/shared/api.php
[Error] Line: 273```

Can you share the output of
docker ps -a

can i send the portainer UI ?

Yes

all the appwrite containers are there

if you need i can show logs and other data if you need them (i will only need the way to get to them)

example@example.com
is the suer was created during the Appwrite initialing?

no i replaced for privacy but it display my email

Gotcha

and i'm the initial user btw

But this is that user, yes?

yes my user is the initial user and can't have access to the projects variables

Can you try to login in incognito? And let us know

still the same error in incognito

also /v1/project/usage
do the same error

maybe the update broke the account and removed the "projects.read" perm

Let's check it

Use this gist to connect to your MariaDB

ok i'm in the maria (using appwrite
DB)

i can see all the tables with the show tables but idk where i should look for the scopes

Check the console memberships
Recommended threads
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
- unable to modify attribute
please help: when I try to modify attribute size or key or anything, I am getting this errors: ``` Deprecated: strtolower(): Passing null to parameter #1 ($str...
- Error 1.7.4 console team no found
In console when i go to auth, select user, select a membership the url not work. Only work searching the team. It is by the region. project-default- and i get ...
