[GH-ISSUE #403] Argument mDescription is missing. #344

Closed
opened 2026-06-05 14:21:53 -04:00 by yindo · 1 comment
Owner

Originally created by @Lisenblsh on GitHub (Apr 26, 2026).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/403

I'll try to import NieR:Automata using the Docker image version 0.4.0-rc-4, and the import process ends with the following error

I'm not sure, but it seems like Steam doesn't always return the mDescription field. However, this field is required in the model. Maybe should make it nullable or set a default value for it.
https://github.com/Drop-OSS/drop/blob/ff1144e0161cb2242645c22db14c01208cac3e3e/server/prisma/models/content.prisma#L31

An error occurred PrismaClientValidationError: Invalid `prisma.game.create()` invocation: { data: { id: "064f1bea-6842-49f2-bf9c-67584778847e", metadataSource: "Steam", metadataId: "524220", mName: "NieR:Automata™", mShortDescription: "NieR: Automata tells the story of androids 2B, 9S and A2 and their battle to reclaim the machine-driven dystopia overrun by powerful machines.", mReleased: new Date("2017-03-17T15:59:00.000Z"), mIconObjectId: "0a7f5af7-7bc0-4070-92bb-6c0fd0259bd9", mBannerObjectId: "bae5f9f2-8084-49fa-ad1a-f9eab04d4f8a", mCoverObjectId: "4d8ff12a-f786-401a-874c-54a78a1e52e0", mImageLibraryObjectIds: [ "4d8ff12a-f786-401a-874c-54a78a1e52e0", "bae5f9f2-8084-49fa-ad1a-f9eab04d4f8a", "ecd3cafb-f6b0-45e3-86b0-818f496193ca", "8b0bd56e-c7d5-4dff-a2f4-616ca5d0daa8", "3324b22c-e3a1-4399-bbd1-ab28595bfbce", "9e426140-2744-4c5d-bbf1-e60890870448", "0d35a2a6-4c97-46f9-8859-0a0bf845970b", "a2602310-8902-4695-90a7-2d209e194ff4", "43f1df7f-30e5-4e4c-9873-ed367158c7d1", "e7ce1961-ab3e-4966-9d17-28503d2ea139", "00d31d87-5026-4f51-83b0-508088186c64", "aef06947-376e-4d1e-b818-c14e4d6c97b4" ], publishers: { connect: [] }, developers: { connect: [] }, ratings: { connectOrCreate: [ { where: { metadataKey: { metadataId: "524220", metadataSource: "Steam" } }, create: { metadataId: "524220", metadataSource: "Steam", mReviewCount: 112346, mReviewHref: "https://store.steampowered.com/app/524220", mReviewRating: 0.88 } } ] }, tags: { connect: [ { id: "83beb136-0886-4631-8e0a-2c8ce8172955", name: "Hack and Slash" }, { id: "a7b3cad3-f607-4efe-8134-4d5556a39361", name: "RPG" }, { id: "ab365039-0191-46c1-94ec-935e7cc0329e", name: "Great Soundtrack" }, { id: "7b0b2a10-71b0-4e49-a644-4f948de3c3a6", name: "Story Rich" }, { id: "bdafe314-e1d1-43b6-8a49-6e31d50560ab", name: "Female Protagonist" }, { id: "b3dae4cc-ef42-482c-92d7-c09385e94e45", name: "Action" }, { id: "076ca9fc-e761-45f8-9687-1dad95db0138", name: "Spectacle fighter" }, { id: "f6d3bffc-a68b-424a-abef-0d8790257688", name: "Open World" }, { id: "ee86dbcf-73a4-4dd3-bea5-8f0778961839", name: "JRPG" }, { id: "2188e58e-ae1b-41c8-b872-671328b88c94", name: "Anime" }, { id: "81d34f77-29ba-4a95-9be8-17b057478a56", name: "Post-apocalyptic" }, { id: "48812f3f-8758-4b67-a809-0206d8127678", name: "Singleplayer" }, { id: "b5a84caa-6e95-42fe-81aa-645b796db9ef", name: "Robots" }, { id: "4b829861-ba31-4789-b18c-37ffbfd92f09", name: "Atmospheric" }, { id: "b6fa96da-8682-4c60-adee-e9a5233016a4", name: "Sci-fi" }, { id: "e63e9cd4-053c-441d-8ab9-d1b11705d896", name: "Nudity" }, { id: "425e371b-63f6-46bb-9090-4933f2b4643f", name: "Adventure" }, { id: "f399dfb3-e615-4228-91b5-fb7299d1d4e1", name: "Bullet Hell" }, { id: "ec3e724c-8d31-4012-9503-c05de6753b1b", name: "Character Action Game" }, { id: "b5dd58c3-4fd8-4704-9ddf-76469f61b0e5", name: "Violent" } ] }, libraryId: "94e3b8b5-ac58-4316-a192-c0fcc464bca1", libraryPath: "NieR:Automata", type: "Game", + mDescription: String } } Argument `mDescription` is missing.

Originally created by @Lisenblsh on GitHub (Apr 26, 2026). Original GitHub issue: https://github.com/Drop-OSS/drop/issues/403 I'll try to import NieR:Automata using the Docker image version `0.4.0-rc-4`, and the import process ends with the following error I'm not sure, but it seems like Steam doesn't always return the `mDescription` field. However, this field is required in the model. Maybe should make it nullable or set a default value for it. https://github.com/Drop-OSS/drop/blob/ff1144e0161cb2242645c22db14c01208cac3e3e/server/prisma/models/content.prisma#L31 `` An error occurred PrismaClientValidationError: Invalid `prisma.game.create()` invocation: { data: { id: "064f1bea-6842-49f2-bf9c-67584778847e", metadataSource: "Steam", metadataId: "524220", mName: "NieR:Automata™", mShortDescription: "NieR: Automata tells the story of androids 2B, 9S and A2 and their battle to reclaim the machine-driven dystopia overrun by powerful machines.", mReleased: new Date("2017-03-17T15:59:00.000Z"), mIconObjectId: "0a7f5af7-7bc0-4070-92bb-6c0fd0259bd9", mBannerObjectId: "bae5f9f2-8084-49fa-ad1a-f9eab04d4f8a", mCoverObjectId: "4d8ff12a-f786-401a-874c-54a78a1e52e0", mImageLibraryObjectIds: [ "4d8ff12a-f786-401a-874c-54a78a1e52e0", "bae5f9f2-8084-49fa-ad1a-f9eab04d4f8a", "ecd3cafb-f6b0-45e3-86b0-818f496193ca", "8b0bd56e-c7d5-4dff-a2f4-616ca5d0daa8", "3324b22c-e3a1-4399-bbd1-ab28595bfbce", "9e426140-2744-4c5d-bbf1-e60890870448", "0d35a2a6-4c97-46f9-8859-0a0bf845970b", "a2602310-8902-4695-90a7-2d209e194ff4", "43f1df7f-30e5-4e4c-9873-ed367158c7d1", "e7ce1961-ab3e-4966-9d17-28503d2ea139", "00d31d87-5026-4f51-83b0-508088186c64", "aef06947-376e-4d1e-b818-c14e4d6c97b4" ], publishers: { connect: [] }, developers: { connect: [] }, ratings: { connectOrCreate: [ { where: { metadataKey: { metadataId: "524220", metadataSource: "Steam" } }, create: { metadataId: "524220", metadataSource: "Steam", mReviewCount: 112346, mReviewHref: "https://store.steampowered.com/app/524220", mReviewRating: 0.88 } } ] }, tags: { connect: [ { id: "83beb136-0886-4631-8e0a-2c8ce8172955", name: "Hack and Slash" }, { id: "a7b3cad3-f607-4efe-8134-4d5556a39361", name: "RPG" }, { id: "ab365039-0191-46c1-94ec-935e7cc0329e", name: "Great Soundtrack" }, { id: "7b0b2a10-71b0-4e49-a644-4f948de3c3a6", name: "Story Rich" }, { id: "bdafe314-e1d1-43b6-8a49-6e31d50560ab", name: "Female Protagonist" }, { id: "b3dae4cc-ef42-482c-92d7-c09385e94e45", name: "Action" }, { id: "076ca9fc-e761-45f8-9687-1dad95db0138", name: "Spectacle fighter" }, { id: "f6d3bffc-a68b-424a-abef-0d8790257688", name: "Open World" }, { id: "ee86dbcf-73a4-4dd3-bea5-8f0778961839", name: "JRPG" }, { id: "2188e58e-ae1b-41c8-b872-671328b88c94", name: "Anime" }, { id: "81d34f77-29ba-4a95-9be8-17b057478a56", name: "Post-apocalyptic" }, { id: "48812f3f-8758-4b67-a809-0206d8127678", name: "Singleplayer" }, { id: "b5a84caa-6e95-42fe-81aa-645b796db9ef", name: "Robots" }, { id: "4b829861-ba31-4789-b18c-37ffbfd92f09", name: "Atmospheric" }, { id: "b6fa96da-8682-4c60-adee-e9a5233016a4", name: "Sci-fi" }, { id: "e63e9cd4-053c-441d-8ab9-d1b11705d896", name: "Nudity" }, { id: "425e371b-63f6-46bb-9090-4933f2b4643f", name: "Adventure" }, { id: "f399dfb3-e615-4228-91b5-fb7299d1d4e1", name: "Bullet Hell" }, { id: "ec3e724c-8d31-4012-9503-c05de6753b1b", name: "Character Action Game" }, { id: "b5dd58c3-4fd8-4704-9ddf-76469f61b0e5", name: "Violent" } ] }, libraryId: "94e3b8b5-ac58-4316-a192-c0fcc464bca1", libraryPath: "NieR:Automata", type: "Game", + mDescription: String } } Argument `mDescription` is missing. ``
yindo closed this issue 2026-06-05 14:21:53 -04:00
Author
Owner

@Lisenblsh commented on GitHub (Apr 26, 2026):

It was due to some kind of network issue; I think part of Steam is blocked in my country. I enabled a VPN on the container, and everything started working normally.

<!-- gh-comment-id:4322215009 --> @Lisenblsh commented on GitHub (Apr 26, 2026): It was due to some kind of network issue; I think part of Steam is blocked in my country. I enabled a VPN on the container, and everything started working normally.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#344