nextcloud / nextcloud/deck

Erro "OCA\Deck\BadRequestException: userId must be provided and must be not empty"

Open
#5,094 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Describe the bug

Sometimes users observe that modifications in cards are not saved. And in logs I found that :

  OCA\Deck\BadRequestException: userId must be provided and must be not empty

To Reproduce

For now, as it does not happen to me, I have not the exact scenario. I suspect that happens when people make modifications in a Deck page that's opened since a long time.

Expected behavior

Modifications saved.

Client details:

  • OS: MacOS et Windows 11.
  • Browser : Chrome & Safari.
  • NC version : 27.0.2
  • Deck app version : 1.10.0

Operating system:
Debian Bullseye

Web server:
Apache2 + nginx reverse proxy

Database:
MySQL

PHP version:
8.2.8

Nextcloud version:
27.0.2

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

No source file or test is identified in the report. Start by reproducing edits on a Deck page left open for a long time and trace the request that produces the userId BadRequestException. Done means card modifications are saved without that error in the reported Nextcloud and Deck versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.