Back

[Solved]internal Server error

  • 1
  • Databases
  • Web
  • Cloud
  • REST API
ideclon
18 Dec, 2023, 17:53

And was your players Collection working until today? Or did you only create it today?

TL;DR
The user was experiencing an internal server error. They found a solution by adding a permission in the code. There was also an issue with passing a date attribute in the wrong format, and it needed to be passed as an ISO 8601 string. It is unclear if the problem was related to the date attribute. The user also mentioned using the Appwrite extension for VSCode, but it was not working. There is no further information about this issue. Other users in the thread suggested creating a separate post with more details, and some mentioned experiencing 500 errors. One user crossposted the thread to the Core on the Cloud team. The
1976satch9
18 Dec, 2023, 17:55

I create it 2 days ago but when i use my signup form the creation of the account works fine(users table) but for players table it’s an issue

1976satch9
18 Dec, 2023, 17:56

Maybe if you @ideclon see my code you will see something

ideclon
18 Dec, 2023, 17:57
ideclon
18 Dec, 2023, 17:58

Ok @1976satch9 @Raja sounds like this is an issue with Cloud.

ideclon
18 Dec, 2023, 17:58

I'm crossposting this to <#1102936099745177700> - someone from Core on the Cloud team should see it there

Drake
18 Dec, 2023, 18:59

Anyone still seeing 500 errors?

Raja
18 Dec, 2023, 19:26

yes

Drake
18 Dec, 2023, 20:10

please create a separate post with details about what you're doing to cause it

1976satch9
19 Dec, 2023, 05:13

@Haimantika here it is in the browser

1976satch9
19 Dec, 2023, 05:16
1976satch9
19 Dec, 2023, 05:19
1976satch9
19 Dec, 2023, 05:42

i try to use appwrite extension to vscode . it doesn't work. help me !!

Drake
19 Dec, 2023, 05:50

So creating an account and session works? It's failing on creating a document?

Drake
19 Dec, 2023, 05:51

What's your project id?

Drake
19 Dec, 2023, 05:52

Is date of birth a datetime attribute in Appwrite? If so, what exactly are you passing to Appwrite?

1976satch9
19 Dec, 2023, 06:04

656e9072351526b3f8eb

1976satch9
19 Dec, 2023, 06:04

25/03/2000

1976satch9
19 Dec, 2023, 06:06

you think the problem come from this ?

Drake
19 Dec, 2023, 06:22

This is an invalid format. You need to pass an iso 8601 string

1976satch9
19 Dec, 2023, 06:56

i change the date of birth attribute. i put string but it's the same problem

D5
19 Dec, 2023, 12:29

The issue is not the attribute, it's because you need to pass it in a string with this format: 2023-12-19T12:29:15.214Z

1976satch9
19 Dec, 2023, 14:05

ok i think i find a solution. const newPlayer = await databases.createDocument( appwriteConfig.databaseId, appwriteConfig.playersCollectionId, documentId, player, ** [ Permission.write(Role.any()) ]** )

1976satch9
19 Dec, 2023, 14:06

j'ai rajouté [ Permission.write(Role.any()) ]

1976satch9
19 Dec, 2023, 14:11

[Solved]internal Server error

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