mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5222] new version cant load workspace ,,,,,,,version 2025.6.0 ,,,, request api: /graphql return error #1993
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1993
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 @mgl-pub on GitHub (Jul 5, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5222
{
"errors": [
{
"message": "\nInvalid
this.prisma.teamMember.count()invocation in\n/dist/backend/dist/team/team.service.js:43:45\n\n 40 return this.deleteUserFromAllTeams(user.uid);\n 41 }\n 42 async getCountOfUsersWithRoleInTeam(teamID, role) {\n→ 43 return await this.prisma.teamMember.count(\nError occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "42704", message: "type \"public.TeamAccessRole\" does not exist", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })","locations": [
{
"line": 6,
"column": 5
}
],
"path": [
"myTeams",
0,
"ownersCount"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"stacktrace": [
"PrismaClientUnknownRequestError: ",
"Invalid
this.prisma.teamMember.count()invocation in","/dist/backend/dist/team/team.service.js:43:45",
"",
" 40 return this.deleteUserFromAllTeams(user.uid);",
" 41 }",
" 42 async getCountOfUsersWithRoleInTeam(teamID, role) {",
"→ 43 return await this.prisma.teamMember.count(",
"Error occurred during query execution:",
"ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "42704", message: "type \"public.TeamAccessRole\" does not exist", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })",
" at Zn.handleRequestError (/dist/backend/node_modules/.pnpm/@prisma+client@6.8.2_prisma@6.8.2_typescript@5.8.3__typescript@5.8.3/node_modules/@prisma/client/runtime/library.js:121:7649)",
" at Zn.handleAndLogRequestError (/dist/backend/node_modules/.pnpm/@prisma+client@6.8.2_prisma@6.8.2_typescript@5.8.3__typescript@5.8.3/node_modules/@prisma/client/runtime/library.js:121:6784)",
" at Zn.request (/dist/backend/node_modules/.pnpm/@prisma+client@6.8.2_prisma@6.8.2_typescript@5.8.3__typescript@5.8.3/node_modules/@prisma/client/runtime/library.js:121:6491)",
" at async l (/dist/backend/node_modules/.pnpm/@prisma+client@6.8.2_prisma@6.8.2_typescript@5.8.3__typescript@5.8.3/node_modules/@prisma/client/runtime/library.js:130:9778)",
" at async TeamService.getCountOfUsersWithRoleInTeam (/dist/backend/dist/team/team.service.js:43:16)",
" at async Object.target [as ownersCount] (/dist/backend/node_modules/.pnpm/@nestjs+core@11.1.1_@nestjs+common@11.1.1_class-transformer@0.5.1_class-validator@0.14._2561f3f114fd35d159b8c3ff6ee92d90/node_modules/@nestjs/core/helpers/external-context-creator.js:74:28)"
]
}
}
],
"data": null
}
@mirarifhasan commented on GitHub (Jul 5, 2025):
@mgl-pub Please run the DB migration. This will solve this error.
For reference: Database migration guide