Skip to content

TRPC Error on mutate function #5

@Kawzzy

Description

@Kawzzy

Hi yall, I'm getting this error while trying to post a Tweet:
VSCode terminal: tRPC failed on tweet.create: Could not find mapping for model Tweet
Browser's console: TRPCClientError: Could not find mapping for model Tweet
at TRPCClientError.from (transformResult-9a244fe7.mjs:4:1)
at eval (httpBatchLink-e66c0674.mjs:187:59)

I have the model created on schema.prisma file, I've already tried to sync the database with prisma and got the message saying it's already sync. But the error still. Can anyone help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions