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
- detail: \u0000 cannot be converted to text.
at PostgreSqlExceptionConverter.convertException x/backend/node_modules/@mikro-orm/core/platforms/ExceptionConverter.js:8:16)
at PostgreSqlExceptionConverter.convertException x/backend/node_modules/@mikro-orm/postgresql/PostgreSqlExceptionConverter.js:48:22)
at PostgreSqlDriver.convertException x/backend/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:351:54)
at /home/ec2-user/tyler/home-vision/backend/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:355:24
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostgreSqlDriver.nativeInsertMany x/backend/node_modules/@mikro-orm/knex/AbstractSqlDriver.js:457:21)
at async ChangeSetPersister.persistNewEntity x/backend/node_modules/@mikro-orm/core/unit-of-work/ChangeSetPersister.js:97:21)
at async ChangeSetPersister.executeInserts x/backend/node_modules/@mikro-orm/core/unit-of-work/ChangeSetPersister.js:40:13)
at async ChangeSetPersister.runForEachSchema x/backend/node_modules/@mikro-orm/core/unit-of-work/ChangeSetPersister.js:80:13)
at async UnitOfWork.commitCreateChangeSets x/backend/node_modules/@mikro-orm/core/unit-of-work/UnitOfWork.js:774:9)
at Parser.parseErrorMessage x/backend/node_modules/pg-protocol/src/parser.ts:368:69)
at Parser.handlePacket x/backend/node_modules/pg-protocol/src/parser.ts:187:21)
at Parser.parse x/backend/node_modules/pg-protocol/src/parser.ts:102:30)
at Socket.<anonymous> x/backend/node_modules/pg-protocol/src/index.ts:7:48)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Socket.Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:191:23) {
code: '22P05',
errno: undefined,
sqlState: undefined,
sqlMessage: undefined,
errmsg: undefined,
length: 220,
severity: 'ERROR',
detail: '\\u0000 cannot be converted to text.',
hint: undefined,
position: '5463',
internalPosition: undefined,
internalQuery: undefined,
where: 'JSON data, line 1: ...ebruik van een brede dynamische driver van \\u0000...',
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'jsonfuncs.c',
line: '645',
routine: 'json_errsave_error'
}
http: POST /admin/products/import ← http://localhost:8999/app/products/import (500) - 13048.679 ms
### Expected behavior
It should seamless import
### Actual behavior
Throws an error
### Link to reproduction repo
any standard medusa deployment.. no changes
The text was updated successfully, but these errors were encountered:
Package.json file
Node.js version
20.18.1
Database and its version
Postgres 13
Operating system name and version
linux backend, windows client
Browser name
edge
What happended?
When i try to export and reimport the sameset of products, using the same csv file that i exported (no changes).. i get the following error
It may have something to do with - https://stackoverflow.com/questions/22809401/removing-a-null-character-from-a-string-in-javascript and
https://stackoverflow.com/questions/31671634/handling-unicode-sequences-in-postgresql
The text was updated successfully, but these errors were encountered: