Skip to content

TypeError: this[#client].defaultMutationOptions is not a function #35

@joehannouch

Description

@joehannouch

I've successfully integrated all my Get calls and got to the Post mutations now.
I'm using NextJs 13.3.2
As soon as I make a call to the mutation I get an Unhandled Runtime Error

Unhandled Runtime Error
TypeError: this[#client].defaultMutationOptions is not a function

image

A brief example of my mutation call:
const addContentMutation = useContentControllerCreateContentMutation();

Help is appreciated

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