You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PrismaClientValidationError:
Invalid `prisma.websiteEvent.create()` invocation:{data: {id: "57be1bb5-6b82-470b-8f90-9720921f71a8",sessionId: undefined,visitId: "40aad27f-0a86-5749-adce-8a174f5b69d2",urlPath: "/",urlQuery: undefined,referrerPath: undefined,referrerQuery: undefined,referrerDomain: "",pageTitle: "Discord Place",eventType: 1,eventName: null,+ websiteId: String}}Argument `websiteId` is missing.at An (/app/node_modules/@prisma/client/runtime/library.js:114:7526)at _n.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7392)at _n.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7057)at _n.request (/app/node_modules/@prisma/client/runtime/library.js:121:6741)at async l (/app/node_modules/@prisma/client/runtime/library.js:130:9355)at async x (/app/.next/server/pages/api/send.js:1:2791)at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:600:9)at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:269:37) {clientVersion: '5.17.0'}
Which Umami version are you using? (if relevant)
v2.13.2
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Railway, Docker
The text was updated successfully, but these errors were encountered:
chimpdev
changed the title
/api/send responds with 500 due to invalid payload (website field)
/api/send responds with 500 due to invalid payload (websiteId field)
Oct 14, 2024
Describe the Bug
/api/send returns 500.
https://github.com/discordplace/discord.place/blob/main/client/app/layout-content.js#L33-L38
https://github.com/discordplace/discord.place/blob/main/client/config.js#L53-L57
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
v2.13.2
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Railway, Docker
The text was updated successfully, but these errors were encountered: