mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5201] [bug]: Postman Collection import fails in Team Workspace due to \u0000 Prisma/Postgres error, works fine in Personal Workspace #1982
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#1982
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 @renaldirio on GitHub (Jun 26, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5201
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Windows
Bug Description
Describe the bug
When importing a Postman Collection JSON file:
PrismaClientUnknownRequestErrordue to\u0000null characters in the collection.This results in a fatal server-side error from Prisma/PostgreSQL backend.
Error log
[Nest] 37 - 06/26/2025, 8:44:28 AM ERROR [ExceptionsHandler] PrismaClientUnknownRequestError:
Backend Server | Invalid
this.prisma.teamCollection.create()invocation inBackend Server | /dist/backend/dist/team-collection/team-collection.service.js:129:112
Backend Server |
Backend Server | 126 },
Backend Server | 127 }
Backend Server | 128 : undefined;
Backend Server | → 129 const teamCollections = await this.prisma.$transaction(queryList.map((x) => this.prisma.teamCollection.create(
Backend Server | Error occurred during query execution:
Backend Server | ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "22P05", message: "unsupported Unicode escape sequence", severity: "ERROR", detail: Some("\u0000 cannot be converted to text."), column: None, hint: None }), transient: false })
Backend Server | 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)
Backend Server | 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)
Backend Server | 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)
Backend Server | 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) {
Backend Server | clientVersion: '6.8.2'
Backend Server | }
To Reproduce
Steps to reproduce:
Deployment Type
Self-hosted (on-prem deployment)
Version
2025.5.4
@liyasthomas commented on GitHub (Jun 26, 2025):
Since #4452 might be a duplicate, I’m closing this ticket.