Hi <@U04398YPDD3> :wave: From the error message y...
# mongodb
r
Hi @Jake W 👋 From the error message you shared, the ObjectId you passed as an argument is bigger than 12 bytes. You will need to pass an ObjectId that matches the 12bytes exactly.
j
Right yeah, but I don't know why I'm supposed to be passing an Object ID when I'm simply querying the guildId and rblxId?
r
Can you check the value of Guild.id and compare with the record you have in the database?
j
It doesn't seem to be even performing the query though? Because if it didn't exist in the database, wouldn't it just return an empty array?
r
Can you share a minimal repository so i can reproduce this?
j
yeah, i've just put this together quickly with the necessary files and a few edits so you can reproduce (its basically what you can see in the screenshots) https://github.com/Jakex/prisma-test-repo
n
Moving to #orm-help