Skip to content
Back

Error: Trying to install appwrite on subdomain. not secure

  • 0
  • Self Hosted
xmaniaxz
6 Dec, 2025, 14:08
TypeScript
[Error] Method: POST
appwrite                            | [Error] URL: /v1/account
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: Invalid Origin. Register your new client (appwrite.lostcausenetwork.com) as a new Web platform on your project console dashboard
appwrite                            | [Error] File: /usr/src/code/app/controllers/general.php
appwrite                            | [Error] Line: 1106
appwrite                            | [Error] Timestamp: 2025-12-06T14:02:04+00:00
appwrite                            | [Error] Method: POST
appwrite                            | [Error] URL: /v1/account
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: Invalid Origin. Register your new client (appwrite.lostcausenetwork.com) as a new Web platform on your project console dashboard
appwrite                            | [Error] File: /usr/src/code/app/controllers/general.php
appwrite                            | [Error] Line: 1106
appwrite                            | [Error] Timestamp: 2025-12-06T14:02:14+00:00
appwrite                            | [Error] Method: GET
appwrite                            | [Error] URL: /v1/account
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: User (role: guests) missing scopes (["account"])
appwrite                            | [Error] File: /usr/src/code/app/controllers/shared/api.php
appwrite                            | [Error] Line: 384
appwrite                            | [Error] Timestamp: 2025-12-06T14:02:14+00:00
appwrite                            | [Error] Method: GET
appwrite                            | [Error] URL: /v1/account
appwrite                       
TL;DR
Error message indicates 'Invalid Origin' error due to not registering the new client as a Web platform on the project console. Additionally, there's a 'missing scopes' error for the user (role: guests). Check your Nginx config file, ensure HTTPS is set up for your subdomain.
xmaniaxz
6 Dec, 2025, 14:08

Error: Trying to install appwrite on subdomain. not secure

xmaniaxz
6 Dec, 2025, 14:10

Hi as the title says, I had to do a full reinstall due to circumstances. but when I try to set my appwrite to my subdomain. i can access it. but the site remains not secure and i can't log in. gettin all sorts of weird errors.

my nginx config file:

https://pastebin.com/AgeUX3xC

Any help is appreciated as it seems like it is an Nginx issue.

xmaniaxz
6 Dec, 2025, 14:11
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more