Using polar and convex

🪲Bug ReportAdvice🧩component
I followed all step in adding polar component to my convex application but I kept getting this error([CONVEX A(polarSub:generateCheckoutLink)] [Request ID: 638984d636378328] Server Error
Uncaught Error: Customer not created) for first time when i visit my pricing page which have this component( if (!user.subscription) {
return (
<CheckoutLink
embed={false}
polarApi={{
generateCheckoutLink: api.polarSub.generateCheckoutLink,
}}
productIds={[product.id]}
>
Get started
</CheckoutLink>
);
}).. am using "@convex-dev/polar": "^0.7.3",, "@polar-sh/sdk": "^0.42.2",,, "convex": "^1.31.4",.. so is there anyone who know how to solve it ?
Was this page helpful?