Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 when trying to view custom event properties #2901

Closed
Jaarson opened this issue Aug 23, 2024 · 3 comments
Closed

Error 500 when trying to view custom event properties #2901

Jaarson opened this issue Aug 23, 2024 · 3 comments
Labels
bug Something isn't working fixed in dev Fixed in the dev branch

Comments

@Jaarson
Copy link

Jaarson commented Aug 23, 2024

Describe the Bug

After upgrading from v2.12.1 to v2.13.0 I can't view events custom data (properties)

Endpoint /api/websites/<website-id>/event-data/values responds with error code 500

Database

PostgreSQL

Relevant log output

PrismaClientKnownRequestError: 
Invalid `prisma.$queryRawUnsafe()` invocation:


Raw query failed. Code: `42804`. Message: `ERROR: CASE types character varying and timestamp with time zone cannot be matched`
    at _n.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7749)
    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 l (/app/.next/server/pages/api/websites/[websiteId]/event-data/values.js:1:2091)
    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)
    at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:816:17) {
  code: 'P2010',
  clientVersion: '5.17.0',
  meta: {
    code: '42804',
    message: 'ERROR: CASE types character varying and timestamp with time zone cannot be matched'
  }
}


### Which Umami version are you using? (if relevant)

v2.13.0

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

Docker
@franciscao633 franciscao633 added the bug Something isn't working label Aug 23, 2024
@franciscao633
Copy link
Collaborator

Thanks for reporting. We get get this fixed asap.

@franciscao633 franciscao633 added the fixed in dev Fixed in the dev branch label Aug 23, 2024
@mikecao
Copy link
Collaborator

mikecao commented Aug 24, 2024

Fixed in v2.13.1

@Jaarson
Copy link
Author

Jaarson commented Aug 24, 2024

Confirming it now works after updating to v2.13.1, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in dev Fixed in the dev branch
Projects
None yet
Development

No branches or pull requests

3 participants