Skip to content
Back

[SOLVED]Leaving ID blank in a document

  • 0
  • Databases
SQUANT
30 Mar, 2023, 21:25

same error

TL;DR
The user encountered an error when leaving the ID field blank in a document. They discovered that traefik was serving on port 443 instead of 80, which conflicted with their use of nginx as a server proxy. They successfully fixed the issue by changing the traefik serving port. There is no indication of a solution for a different error related to the database not finding the ID field.
Binyamin
30 Mar, 2023, 21:25

Can you share the whole form?

Binyamin
30 Mar, 2023, 21:28

Interesting It's like the database can't find your ID field and convert it to _uid

What version are you using?

SQUANT
30 Mar, 2023, 21:28

"appwrite": "^10.2.0",

Binyamin
30 Mar, 2023, 21:29

10?

SQUANT
30 Mar, 2023, 21:29

thats the ver 10.2.0

Binyamin
30 Mar, 2023, 21:30

Can you go to this url https://you-server.com/versions To check what version it is?

Binyamin
30 Mar, 2023, 21:30

Also If you do enter value here is it save it?

SQUANT
30 Mar, 2023, 21:33

{"server":"1.1.2","client-web":"10.1.0","client-flutter":"8.1.0","client-apple":"1.1.0","client-android":"1.1.0","console-web":"7.1.0","console-cli":"1.1.1","server-nodejs":"8.1.0","server-deno":"6.1.0","server-php":"7.1.0","server-python":"1.1.0","server-ruby":"7.1.0","server-dart":"7.1.0","server-kotlin":"1.1.0","server-swift":"1.1.0"}

Binyamin
30 Mar, 2023, 21:33

You're using Appwrite cloud?

SQUANT
30 Mar, 2023, 21:33

no

SQUANT
30 Mar, 2023, 21:33

docker on private server

Binyamin
30 Mar, 2023, 21:34

Is it production env? If not can you try to upgrade to the latest one 1.2.1? https://appwrite.io/docs/upgrade

SQUANT
30 Mar, 2023, 21:34

no it is not production, i will update

Binyamin
30 Mar, 2023, 21:35

As for the error itself it looks like everything are in order so either

  • It's a bug
  • It will be fixed by upgrading
  • Something I missed
Binyamin
30 Mar, 2023, 21:35

lmn

SQUANT
30 Mar, 2023, 21:52

where do i change the traefik serving port, i messed up my configuration 😭

Binyamin
30 Mar, 2023, 21:53

What you mean Have you follow the instructions?

SQUANT
30 Mar, 2023, 21:53

traefik is trying to serve on 443 i need to change it to 80 because i am using nginx as a server proxy

Binyamin
30 Mar, 2023, 21:54
TypeScript
nano /root/appwrite/docker-compose.yml

# Look for these values
      - --entrypoints.appwrite_web.address=:80
      - --entrypoints.appwrite_websecure.address=:443

    ports:
      - 80:80
      - 443:443
SQUANT
30 Mar, 2023, 22:14

update fixed it

SQUANT
30 Mar, 2023, 22:15

thank you

Binyamin
30 Mar, 2023, 22:15

Great 👍👍

Binyamin
30 Mar, 2023, 22:17

You can mark the question as solved

SQUANT
30 Mar, 2023, 22:18

[SOLVED]Leaving ID blank in a document

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