mirror of
https://github.com/dotnetfactory/fluid-calendar.git
synced 2026-03-02 22:57:19 -05:00
Cannot Add mulitple CalDav providers #108
Labels
No labels
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fluid-calendar#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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" }