Skip to content

Zod error #16

@swarajbachu

Description

@swarajbachu
Uncaught SDKValidationError: Failed to parse event: TypeError: Cannot read properties of undefined (reading '_zod')
    at parseEvent (../../../../node_modules/@polar-sh/sdk/src/webhooks.ts:107:2)
    at validateEvent (../../../../node_modules/@polar-sh/sdk/src/webhooks.ts:120:11)
    at <anonymous> (../../../../node_modules/@convex-dev/polar/src/client/index.ts:382:18)
    at async invokeFunction (../../../../node_modules/convex/src/server/impl/registration_impl.ts:80:2)
    at async invokeHttpAction (../../../../node_modules/convex/src/server/impl/registration_impl.ts:453:0)
    at async <anonymous> (../../../../node_modules/convex/src/server/router.ts:322:16)
Image

I am currently using zod version 4.1.1 in my app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions