Zeke
Explore posts from serversPPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Interestingly, when removing everything after $extends... It is fixed... May be a Turso issue. No clue.,
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
I AM using Turso!
Maybe there is something not supported?
Here is my
prisma.ts
:
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
I can confirm all the relevant variables are correct. In any other query I run, for example, creating hosts, creating shows, deleting shows, you name it - Anything where a 'create', 'update', or 'delete', is going down - This error occurs.
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Here is my
schema.prisma
:
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
And, upon catching an error in that query, I get this:
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Here is the relevant section of my new
Actions.ts
:
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
I have switched over to using a server action implementation
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Hi. Thanks for the reply
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Note the object is being created in database, however it doesn't seem to want to return back to the client after request.
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Relevant API
route.ts
:
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
20 replies
PPrisma
•Created by яσчαℓтℓя on 11/20/2024 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Getting the exact same thing
20 replies
PPrisma
•Created by Zeke on 3/21/2024 in #help-and-questions
Pull Operator not Existing?
Ended up removing my string array and replacing it with an ‘AccountGuild’ model array. This way I can target each one individually.
8 replies
PPrisma
•Created by Zeke on 3/21/2024 in #help-and-questions
Pull Operator not Existing?
Hm. Doesn't look like pull even exists.
The only fix I can think of is finding the document, grabbing guildIds, then updating guildIds to be the pre-found array filtering out guild_id.
But that seems too complex for the task at hand. Surely, a method exists somewhere?
Thanks nonetheless.
8 replies
PPrisma
•Created by Zeke on 3/21/2024 in #help-and-questions
Pull Operator not Existing?
Why would push not be $push if pull were supposed to be $pull too?
8 replies
PPrisma
•Created by Zeke on 3/21/2024 in #help-and-questions
Pull Operator not Existing?
Same error. That doesn't exist.
8 replies
DIAdiscord.js - Imagine an app
•Created by Zeke on 3/8/2024 in #djs-questions
Property 'id' does not exist on type 'APIGuild'.
Is there no solution lol?
14 replies
DIAdiscord.js - Imagine an app
•Created by Zeke on 3/8/2024 in #djs-questions
Property 'id' does not exist on type 'APIGuild'.
14 replies
DIAdiscord.js - Imagine an app
•Created by Zeke on 3/8/2024 in #djs-questions
Property 'id' does not exist on type 'APIGuild'.
Or, null, since it might not exist
14 replies
DIAdiscord.js - Imagine an app
•Created by Zeke on 3/8/2024 in #djs-questions
Property 'id' does not exist on type 'APIGuild'.
I’m on mobile, but The get guild function fetch request discord api for v10 guild, inline with what discord api types APIGuild should be
14 replies