nextcloud / nextcloud/notes

500 error when trying to create a new note

Open
#1,955 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Please make a clear and concise description of what the bug is.

When I try to create a new Note in the web interface, I get "Creating new note has failed. HTTP 500 (Error)"
The weird thing is, when I refresh the page, the new note is there just fine.

The bigger issue is, creating new notes just doesn't work at all from the Android app.

Not sure if it makes a difference, but I am trying this from an external network configured for remote access via a Cloudflare Tunnel. Currently unable to try it on the local network.
*Can now confirm everything is the same over the local network

-->

Steps to reproduce

  1. Click "+New Note"
Expected behaviour

It should create a new note with no issue

Actual behaviour

On desktop web app, it creates the new note but says it can't. On Android app, it just doesn't create the note. Instead, it creates a bunch of empty duplicates with the same name followed by (1,2,3...).

Screenshots
Image Image

Server

Please complete the following information.

  • Notes app version: 6.0.1
  • Nextcloud version: 33.0.5
  • OS: MacOS and Android

Client

Please complete the following information.

  • Browser (incl. version): Firefox 152.0.6
  • OS: MacOS Tahoe
  • Android: Nextcloud Notes 34.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce note creation from the web interface and Android app using both the remote and local network conditions described. Compare the reported HTTP 500, successful-but-failed web creation, and Android duplicate behavior; done means creating one note succeeds without an error or empty duplicates in both clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
api, frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.