Skip to content

Cannot undo deleting of a card (error 400) #8293

Description

@latenightdef

Describe the bug
When I delete a card and hit the "Undo" button, the card doesn't come back. Instead it shows the following in my case

PUT    https://cloud.techtransthai.org/ocs/v2.php/apps/deck/api/v1.0/cards/4406           [HTTP/3 400  61ms]
Uncaught (in promise) AxiosError: Request failed with status code 400
    le AxiosError.js:102
    Oe settle.js:19
    g xhr.js:62
    Ze xhr.js:78
    Ze xhr.js:16
    mt dispatchRequest.js:48
    _request Axios.js:218
    request Axios.js:41
    t Axios.js:257
    i bind.js:12
    updateCard CardApi.js:84
    cardUndoDelete trashbin.js:73
    w vuex.esm.js:851
    dispatch vuex.esm.js:516
    dispatch vuex.esm.js:406
    deleteCard CardMenuEntries.vue:191
    m _plugin-vue2_normalizer-jrlE7CJU.mjs:143
    m _plugin-vue2_normalizer-jrlE7CJU.mjs:141
    deleteCard CardMenuEntries.vue:191
    click CardMenuEntries.vue:1
    VueJS 4
    onClick actionText-BMig9Egt.mjs:78
    handleClick NcActionButton-K4jUGMlW.mjs:145
    VueJS 33
[AxiosError.js:102:5](webpack:///deck/node_modules/axios/lib/core/AxiosError.js)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Nextcloud Deck and open the deck board
  2. Click on '...' on a card
  3. Select "Delete card"
  4. Hit "Undo" and see the card not coming back

Expected behavior
Deleted card gets restored

Screenshots

Image

Client details:

  • OS: Linux Fedora 44
  • Browser: Zen Browser 1.21.15b (Firefox 154.0)
  • Device: desktop
Server details

Operating system: Linux

Web server: nginx version: nginx/1.28.3

Database: PostgreSQL 16

PHP version: PHP 8.4.16 (cli)

Nextcloud version: Nextcloud Hub 26 Spring (34.0.3)

Where did you install Nextcloud from: LinuxServer.io Docker Images

Signing status:

No errors have been found.

List of activated apps:

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - app_api: 34.0.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - calendar: 6.5.4
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - collectives: 4.5.0
  - comments: 1.24.0
  - contacts: 8.7.6
  - contactsinteraction: 1.15.0
  - dashboard: 7.14.0
  - dav: 1.40.0
  - deck: 1.18.3
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_downloadlimit: 5.2.0
  - files_external: 1.26.0
  - files_lock: 34.0.1
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - firstrunwizard: 7.0.0-dev.0
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - news: 28.7.0
  - nextcloud_announcements: 6.0.0
  - notes: 6.0.2
  - notifications: 7.0.0-dev.1
  - oauth2: 1.22.0
  - office: 1.0.0
  - password_policy: 6.0.0-dev.0
  - photos: 7.0.0
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - recommendations: 7.0.0
  - related_resources: 5.0.0-dev.0
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - suspicious_login: 12.0.0-dev.0
  - systemtags: 1.24.0
  - tables: 2.2.2
  - tasks: 0.18.1
  - text: 8.0.0
  - theming: 2.9.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_totp: 16.0.0
  - updatenotification: 1.24.0
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - workflowengine: 2.16.0
Disabled:
  - encryption: 2.22.0
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 8.0.0
  - user_ldap: 1.25.0

Nextcloud configuration:

{
    "system": {
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.10.41:8066",
            "cloud.techtransthai.org"
        ],
        "dbtype": "pgsql",
        "version": "34.0.3.2",
        "overwrite.cli.url": "https:\/\/cloud.techtransthai.org",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "5432",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "loglevel": 1,
        "logfile": "\/data\/nextcloud.log",
        "upgrade.disable-web": true,
        "app_install_overwrite": [
            "hibp",
            "health"
        ],
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "default_phone_region": "TH",
        "defaultapp": ""
    }
}

Are you using an external user-backend, if yes which one: no

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"Jz3m89McU5J8jmYecvtO","level":1,"time":"2026-08-24T13:25:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}
{"reqId":"Ymth8ETbwtHaEoIl05oM","level":1,"time":"2026-08-24T13:26:10+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/remote.php/dav/","scriptName":"/remote.php","message":"The app config key dav/enableCalendarFederation is not defined in the config lexicon","userAgent":"Nextcloud-Server-Crawler/34.0.3","version":"34.0.3.2","data":[]}
{"reqId":"Ymth8ETbwtHaEoIl05oM","level":1,"time":"2026-08-24T13:26:10+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/remote.php/dav/","scriptName":"/remote.php","message":"Uncaught exception","userAgent":"Nextcloud-Server-Crawler/34.0.3","version":"34.0.3.2","exception":{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"No public access to this resource., AppAPIAuth has not passed, This request is not for a federated calendar, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php","line":215,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":433,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":152,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","Line":152,"message":"Uncaught exception","exception":"{\"class\":\"Sabre\\DAV\\Exception\\NotAuthenticated\",\"message\":\"No public access to this resource., AppAPIAuth has not passed, This request is not for a federated calendar, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"code\":0,\"file\":\"/app/www/public/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php:152\",\"trace\":\"#0 /app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\Auth\\Plugin->beforeMethod()\\n#1 /app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\\DAV\\Server->emit()\\n#2 /config/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php(215): Sabre\\DAV\\Server->invokeMethod()\\n#3 /config/www/nextcloud/apps/dav/lib/Server.php(433): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#4 /config/www/nextcloud/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#5 /app/www/public/remote.php(152): require_once('...')\\n#6 {main}\"}","CustomMessage":"Uncaught exception"}}
{"reqId":"29YMXX5jSiOrUEIRH2VL","level":1,"time":"2026-08-24T13:26:10+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/remote.php/dav/","scriptName":"/remote.php","message":"The app config key dav/enableCalendarFederation is not defined in the config lexicon","userAgent":"Nextcloud-Server-Crawler/34.0.3","version":"34.0.3.2","data":[]}
{"reqId":"29YMXX5jSiOrUEIRH2VL","level":1,"time":"2026-08-24T13:26:10+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/remote.php/dav/","scriptName":"/remote.php","message":"Uncaught exception","userAgent":"Nextcloud-Server-Crawler/34.0.3","version":"34.0.3.2","exception":{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"No public access to this resource., AppAPIAuth has not passed, This request is not for a federated calendar, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php","line":215,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":433,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":152,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","Line":152,"message":"Uncaught exception","exception":"{\"class\":\"Sabre\\DAV\\Exception\\NotAuthenticated\",\"message\":\"No public access to this resource., AppAPIAuth has not passed, This request is not for a federated calendar, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"code\":0,\"file\":\"/app/www/public/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php:152\",\"trace\":\"#0 /app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\Auth\\Plugin->beforeMethod()\\n#1 /app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\\DAV\\Server->emit()\\n#2 /config/www/nextcloud/apps/dav/lib/Connector/Sabre/Server.php(215): Sabre\\DAV\\Server->invokeMethod()\\n#3 /config/www/nextcloud/apps/dav/lib/Server.php(433): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#4 /config/www/nextcloud/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#5 /app/www/public/remote.php(152): require_once('...')\\n#6 {main}\"}","CustomMessage":"Uncaught exception"}}
{"reqId":"N3CdHdOCIBlAPtJIsGt6","level":1,"time":"2026-08-24T13:26:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}
{"reqId":"bL1NuE1v0xPlKqNEWAEr","level":1,"time":"2026-08-24T13:27:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}
{"reqId":"dQckr6KJ8ZOgi3mun0tB","level":1,"time":"2026-08-24T13:28:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}
{"reqId":"8DwZsNOAlFH47GxD3Zoo","level":1,"time":"2026-08-24T13:29:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}
{"reqId":"pQwOYeRIAp5YkzvKZbmU","level":1,"time":"2026-08-24T13:30:59+00:00","remoteAddr":"10.89.0.6","user":"--","app":"no app in context","method":"GET","url":"/login","scriptName":"/index.php","message":"The app config key dav/hide_absence_settings is not defined in the config lexicon","userAgent":"Uptime-Kuma/2.2.1","version":"34.0.3.2","data":[]}

Browser log

(see above error messages and screenshot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions