Skip to content
Back

500 internal error on particular collection

  • 0
  • Databases
Mosh Ontong
1 Dec, 2023, 13:45

how much size did you set up for accountId?

TL;DR
User is experiencing a 500 internal error on a specific collection. Other users offer suggestions without providing a clear solution. One user suggests posting another support request. The user also shares a code snippet related to creating a document in the collection. Another user suggests sending mimic data or deleting the collection, but the user is unsure if that would solve the problem. The user eventually decides to recreate the project and successfully creates the collection. The root cause of the issue is not identified, but it is mentioned that passing data to the collection may have caused the problem. No specific solution is provided. Solution: Recreate the project and create the collection again.
👾Rnbsov
1 Dec, 2023, 13:45

2200

Mosh Ontong
1 Dec, 2023, 13:45

too much HAHAHAH

👾Rnbsov
1 Dec, 2023, 13:45

actually every string field have this

👾Rnbsov
1 Dec, 2023, 13:46

I was thinking the same, but the autrhor in video did so, I've totally forget that I wanted to change this

👾Rnbsov
1 Dec, 2023, 13:46

is this really the root of the problem?

Mosh Ontong
1 Dec, 2023, 13:46

nope

Mosh Ontong
1 Dec, 2023, 13:47

I could not really see the root cause of the issue, but I believe the root cause is passing data on your collection, but the result is that it successfuly created the document

Mosh Ontong
1 Dec, 2023, 13:48

yeah thats weird

👾Rnbsov
1 Dec, 2023, 13:48

yes, it creates it succsessfylly

👾Rnbsov
1 Dec, 2023, 13:48

maybe I should just recreate a project

👾Rnbsov
1 Dec, 2023, 13:48

idk

Mosh Ontong
1 Dec, 2023, 13:48

nope dont do that

👾Rnbsov
1 Dec, 2023, 13:49

delete collection?

Mosh Ontong
1 Dec, 2023, 13:49

how about send a mimic data

Mosh Ontong
1 Dec, 2023, 13:49

const newUser = await databases.createDocument( appwriteConfig.databaseId, appwriteConfig.userCollectionId, ID.unique(), user )

Mosh Ontong
1 Dec, 2023, 13:51
TypeScript
    const newUser = await databases.createDocument(
      appwriteConfig.databaseId,
      appwriteConfig.userCollectionId,
      ID.unique(),
      {
        accountId: 'sample',
        email: 'test@yahoo.com',
        imageUrl: 'test.com',
        name: 'test',
        username: 'test'

      }
    )
Mosh Ontong
1 Dec, 2023, 13:51

so that we can validate if this is the root cause of problem

👾Rnbsov
1 Dec, 2023, 13:55
👾Rnbsov
1 Dec, 2023, 13:55
👾Rnbsov
1 Dec, 2023, 13:56

it appeared in database

Mosh Ontong
1 Dec, 2023, 13:58

I think the team will help you about this, you can post another support so that the team will see your issue

👾Rnbsov
1 Dec, 2023, 13:58

okay, thanks anyway

can't express how grateful I'm for your time and willingness for help

Mosh Ontong
1 Dec, 2023, 14:00

I want to help you but I have thesis to do.🥹

👾Rnbsov
1 Dec, 2023, 14:04

good luck with that!

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