Back

500 error server down

  • 0
  • Web
  • Cloud
grow_with_talha
20 Dec, 2023, 09:44

error screenshot

TL;DR
Many users are experiencing a 500 error with the message "general unknown" when using a code that stores data into appwrite. The issue seems to be related to collections with nested relationships beyond 3 levels. Reducing the levels of nested relations has solved the problem for some users. The team is aware of the issue and will investigate further. If you have a similar problem, provide details about your code and collection information to help the team resolve it.
D5
20 Dec, 2023, 09:59

But does this ever worked?

D5
20 Dec, 2023, 09:59

Or it always threw such error?

grow_with_talha
20 Dec, 2023, 09:59

no it was working fine

D5
20 Dec, 2023, 10:00

I see

D5
20 Dec, 2023, 10:00

And what's your project ID?

grow_with_talha
20 Dec, 2023, 10:00

from yesterday i am getting this error

grow_with_talha
20 Dec, 2023, 10:01

this is the project id

65757466458fafb26819

D5
20 Dec, 2023, 10:01

Okay

D5
20 Dec, 2023, 10:01

The team will take a look

grow_with_talha
20 Dec, 2023, 10:02

ok

Guille
20 Dec, 2023, 11:57

Does your collection have any relationship attribute?

Muniraja
20 Dec, 2023, 14:01

If your collection has any relationships, check for permissions and max depth of 3 levels nested relations allowed right now, if you have more than that, you will get the server error.

I got the same error yesterday, I had 4 levels of nested relations, after reducing them error gone.

grow_with_talha
20 Dec, 2023, 15:46

no i don't have relations in my db i have only one collection

abel_banze
20 Dec, 2023, 16:24

im getting the same error

abel_banze
20 Dec, 2023, 16:25

its returning error 500, message: "general unknown" since yesterday

Guille
20 Dec, 2023, 16:39

Can you show us your code?

Guille
20 Dec, 2023, 16:39

Please, can you open a new issue with more details about your problem, code, collection information, etc

abel_banze
20 Dec, 2023, 16:54

The strange thing is the code seems to work well, I mean, the code store the data into appwrite. Its create the user, store the user into the user collection but it returns error 500 with message "general unknown"

Muniraja
20 Dec, 2023, 17:19

Does your users collection have any relationships??

abel_banze
20 Dec, 2023, 17:27

yes, its does. with others 4 collections

Muniraja
20 Dec, 2023, 17:29

Check the permissions for related collections.

If you have nested relations, max depth of 3 levels is allowed, if you have more than 3 you will get the error.

abel_banze
20 Dec, 2023, 17:31

thanks. Let me check the collection

grow_with_talha
21 Dec, 2023, 09:39

MY code screen shot

Guille
21 Dec, 2023, 12:47

Please send a screenshot of your attributes as well (in the console)

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