
Hey, I’m running into an issue right after the setup. I followed the setup instructions and ran docker compose up -d
, and while the local server seems to be running, I get a server error when trying to sign up.
Is there a dummy/test account available for contributors?
This doesn't seem to help: https://github.com/appwrite/appwrite/issues/8808#issuecomment-2433365910
As Im in signup page itself.

What exactly did you do to setup, sign up, and what is the exact error?

I followed the general setup guidelines: https://github.com/appwrite/appwrite/blob/main/CONTRIBUTING.md#setup-from-source and the issue is: https://github.com/appwrite/appwrite/issues/8808

Here is the some part of error log:
{"message":"User (role: guests) missing scope (account)","code":401,"type":"general_unauthorized_scope","version":"1.7.4","file":"\/usr\/src\/code\/app\/controllers\/shared\/api.php","line":375,"trace":[{"file":"\/usr\/src\/code\/vendor\/utopia-php\/framework\/src\/App.php","line":600,"function":"{closure}","args":[{},{},{},{},{},{"$id":"console","$internalId":"console","name":"Appwrite","$collection":"projects","description":"Appwrite core engine","logo":"","teamId":null,"webhooks":[],"keys":[],"platforms":[{"$collection":"platforms","name":"Localhost","type":"web","hostname":"localhost"},{"$collection":"platforms","name":"Current Host","type":"web","hostname":"localhost"},{"$collection":"platforms","type":"web","name":"localhost","hostname":"localhost"},{"$collection":"platforms","type":"web","name":"appwrite.io","hostname":"appwrite.io"},{"$collection":"platforms","type":"web","name":"*.appwrite.io","hostname":"*.appwrite.io"}],"region":"fra","legalName":"","legalCountry":"","legalState":"","legalCity":"","legalAddress":"","legalTaxId":"","auths":{"mockNumbers":[],"invites":true,"limit":0,"duration":31536000,"sessionAlerts":true},"authWhitelistEmails":[],"authWhitelistIPs":[],"oAuthProviders":{"githubEnabled":true,"githubSecret":"","githubAppid":""}},{},null,["node.js","deno","php","python","ruby","go",".net","dart","kotlin","swift","graphql","rest"],"default",{},null]},{"file":"\/usr\/src\/code\/vendor\/utopia-php\/framework\/src\/App.php","line":826,"function":"execute","class":"Utopia\\App","type":"->","args":[{},{},{}]},

Why are you running from source? You want to modify the source code?

Or do you just want to use Appwrite?

I want to setup it locally, for contributing.

Ok

What happened exactly when you tried to sign up?

- I run my application locally using Docker Compose.
- When navigating to either the sign-in or sign-up page, a request to http://localhost/v1/account fails with a 401 Unauthorized error. The error response is:
{
"message": "User (role: guests) missing scope (account)",
"code": 401,
"type": "general_unauthorized_scope"
}
- After submitting the sign-up form, a 500 Internal Server Error occurs. The response includes:
{
"message": "Server Error",
"code": 500,
"type": "general_unknown",
"version": "1.7.4"
}
The 3rd step error originates in the Database.php file at line 3653, specifically in the createDocument
function, as indicated by the stack trace pointing to the account.php controller (line 391).

well if you aren't logged in yet, the 401 error is expected

there should be another log entry for the 500 error
Recommended threads
- Unable to read session cookie
Hi, when I am hitting Appwrite **/account** API. I am getting the user account details as expected in the response. However, with that API, Appwrite also adds a...
- Database error
My code: await databases.createDocument( process.env.APPWRITE_DATABASE, process.env.APPWRITE_COLLECTION_USER, data.userId, ...
- No Headers
Hi I have 2 appwrite functions, one is working fine on localhost, second is not even working on prod with https, i inspected the api call, no headers are being ...
