#Database 500 error POST

1 messages · Page 1 of 1 (latest)

graceful ice
#

500 error database, please refer to image

crystal dragon
#

Hi, was it Appwrite Cloud?

graceful ice
crystal dragon
crystal dragon
graceful ice
crystal dragon
wraith steeple
graceful ice
wraith steeple
#

If so, creating a new project should solve the issue

#

It was probably caused due to creating the project during database issues

crystal dragon
graceful ice
#

you mean create from beginning new project ? and then create new database again ?

graceful ice
crystal dragon
graceful ice
wraith steeple
graceful ice
#

not work

#

this the new project id : 654c9e87e173cc44243e

wraith steeple
crystal dragon
#

This must be some other error. 😅

#

Can you share the code?

graceful ice
#

down ?

minor rain
#

I have the exact same issue. Created the project a few hours ago. Now all pages from auth to storage show server 500 error.

This is the code I'm trying to run:

    Future<List<Document>> getNotesFromCloud = _appwriteService.getNotes();

    getNotesFromCloud.then((result) {
      inspect(result);

      if (result.isNotEmpty) {
        for (Document note in result) {
          TrainingNote trainingNote = TrainingNote(
            id: note.data['id'],
            subject: note.data['subject'],
            date: DateTime.parse(note.data['date']),
            description: note.data['description'],
          );

          //Set date from ISO 8601 notation to custom
          DateFormat('dd MMMM HH:mm').format(trainingNote.date);

          //Add the training note after date is formatted
          _trainingNotes.add(trainingNote);
        }
        return _trainingNotes;
      } else {
        return <TrainingNote>[];
      }
    });```
wraith steeple
#

@minor rain Creating a new project should solve the issue

graceful ice
#

@wraith steeple @crystal dragon got Error 500 when patch data, please refer the image