Cannot Add mulitple CalDav providers #108

Open
opened 2026-02-28 01:28:32 -05:00 by deekerman · 0 comments
Owner

Originally created by @NoahJamesTech on GitHub (Aug 26, 2025).

If you attempt to add mulitple caldav servers with different URLs it is not possible.

Steps to reproduce

  1. Add one caldav server
  2. Try to add another server

Expected behavior
Being able to use multiple caldav servers

Actual behavior
Incorrect credentials error message

Error log: { "error": "\nInvalid prisma.connectedAccount.create() invocation:\n\n\nUnique constraint failed on the fields: (userId,provider,email)", "stack": "PrismaClientKnownRequestError: \nInvalid prisma.connectedAccount.create() invocation:\n\n\nUnique constraint failed on the fields: (userId,provider,email)\n at Bn.handleRequestError (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:7362)\n at Bn.handleAndLogRequestError (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:6686)\n at Bn.request (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:6393)\n at async l (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:130:9645)\n at async h (/opt/fluid-calendar/.next/server/app/api/calendar/caldav/auth/route.js:1:4973)\n at async to.do (/opt/fluid-calendar/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:18605)\n at async to.handle (/opt/fluid-calendar/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:23632)\n at async doRender (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:1513:42)\n at async NextNodeServer.renderToResponseWithComponentsImpl (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:1915:28)\n at async NextNodeServer.renderPageComponent (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:2393:24)", "username": "FOO", "serverUrl": "myserverurl.com" }

Originally created by @NoahJamesTech on GitHub (Aug 26, 2025). If you attempt to add mulitple caldav servers with different URLs it is not possible. Steps to reproduce 1. Add one caldav server 2. Try to add another server Expected behavior Being able to use multiple caldav servers Actual behavior Incorrect credentials error message Error log: { "error": "\nInvalid prisma.connectedAccount.create() invocation:\n\n\nUnique constraint failed on the fields: (userId,provider,email)", "stack": "PrismaClientKnownRequestError: \nInvalid prisma.connectedAccount.create() invocation:\n\n\nUnique constraint failed on the fields: (userId,provider,email)\n at Bn.handleRequestError (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:7362)\n at Bn.handleAndLogRequestError (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:6686)\n at Bn.request (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:121:6393)\n at async l (/opt/fluid-calendar/node_modules/@prisma/client/runtime/library.js:130:9645)\n at async h (/opt/fluid-calendar/.next/server/app/api/calendar/caldav/auth/route.js:1:4973)\n at async to.do (/opt/fluid-calendar/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:18605)\n at async to.handle (/opt/fluid-calendar/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:23632)\n at async doRender (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:1513:42)\n at async NextNodeServer.renderToResponseWithComponentsImpl (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:1915:28)\n at async NextNodeServer.renderPageComponent (/opt/fluid-calendar/node_modules/next/dist/server/base-server.js:2393:24)", "username": "FOO", "serverUrl": "myserverurl.com" }
Sign in to join this conversation.
No labels
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fluid-calendar#108
No description provided.