-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In BE1, if you try to create a client, it won't let you enter more that 4 characters for the prefix.
In BE2, there is no limit, but clicking Create does nothing if there are more than 4 characters.
I see this in the browser log:
fetcher.js?v=52872927:66
POST http://localhost:8443/client-admin/create 500 (Internal Server Error)
This is in the server console:
[500] POST /client-admin/create
PrismaClientKnownRequestError:
Invalid `prisma.client.create()` invocation:
The provided value for the column is too long for the column's type. Column: (not available)
at ei.handleRequestError (node_modules/@prisma/client/runtime/library.js:121:7283)
at ei.handleAndLogRequestError (node_modules/@prisma/client/runtime/library.js:121:6608)
at ei.request (node_modules/@prisma/client/runtime/library.js:121:6315)
at async a (node_modules/@prisma/client/runtime/library.js:130:9551)
at async default (src/routes/(ui)/client-admin/create/+page.server.ts:19:20)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels