N
Novu13mo ago
Kirthiraj

I am unable to create a subscriber using react client sdk from my local

Getting CORS error while using novu.subscribers.identify("789", { firstName: "Sumit", lastName: "Saurabh", });
No description
5 Replies
Pawan Jain
Pawan Jain13mo ago
@Kirthiraj I think you are using nodejs sdk in react Nodejs sdk is backend sdk and should be used in server side only
Kirthiraj
KirthirajOP13mo ago
is there a seprate SDK for React, to create a subscriber from client side ?
Pawan Jain
Pawan Jain13mo ago
Our notification center will automatically create a subscriber
Pawan Jain
Pawan Jain13mo ago
https://docs.novu.co/notification-center/client/react/get-started Here if you send any non existing subscriber id then that subscriber will be created
No description
Kirthiraj
KirthirajOP13mo ago
thank you so much super helpful

Did you find this page helpful?