Invalid JSON for Custom Fields [error-invalid-customfield-json]

Description

When saving changes to a user (e.g. adding a additional role) I get the following error:

Invalid JSON for Custom Fields [error-invalid-customfield-json]

Server Setup Information

  • Version of Rocket.Chat Server: 6.4.5
  • Operating System: Debian GNU/Linux 11 (bullseye)
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: activated
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.18 / wiredTiger (oplog Aktiviert)
  • Proxy: apache2
  • Firewalls involved: no

Any additional Information

The LDAP based authentication is in use.

In the docker logs output I do not see anything related, but the following line

docker logs rocketchat_app

{“level”:50,“time”:“2023-11-21T15:05:04.773Z”,“pid”:1,“hostname”:“ee48ada13b2b”,“name”:“OEmbed”,“msg”:“Error fetching url content”,“err”:{“type”:“AbortError”,“message”:“The user aborted a request.”,“stack”:“AbortError: The user aborted a request.\n at abort (/app/bundle/programs/server/npm/node_modules/node-fetch/lib/index.js:1401:16)\n at AbortSignal.abortAndFinalize (/app/bundle/programs/server/npm/node_modules/node-fetch/lib/index.js:1416:4)\n at AbortSignal.dispatchEvent (/app/bundle/programs/server/npm/node_modules/event-target-shim/dist/event-target-shim.js:818:35)\n at abortSignal (/app/bundle/programs/server/npm/node_modules/abort-controller/dist/abort-controller.js:52:12)\n at AbortController.abort (/app/bundle/programs/server/npm/node_modules/abort-controller/dist/abort-controller.js:91:9)\n at Timeout. (/app/bundle/programs/server/npm/node_modules/@rocket.chat/server-fetch/dist/index.js:37:51)\n at listOnTimeout (internal/timers.js:557:17)\n at processTimers (internal/timers.js:500:7)\n => awaited here:\n at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at app/oembed/server/server.ts:112:16\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n => awaited here:\n at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at app/oembed/server/server.ts:168:10\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40”,“name”:“AbortError”}}