N01R
N01R
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
thanks
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
ahh it works
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
The error message was : "{"message":"Request failed with status code 401"}"
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
and when i tried calling this it gave me an unauthorized
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
export const createSub = async (req, res) => { const novu = new Novu(NOVU_API_KEY); console.log('createSub ', NOVU_API_KEY); try { // Call Novu SDK to create the subscriber with id = 78449 const subscriber = await novu.subscribers.identify('234', { email: 'sreevats@tresfdww.com', firstName: 'John', lastName: 'Doe', phone: '+13603963366', avatar: 'https://example.com/images/avatar.jpg', locale: 'en', data: { customKey1: 'customVal1', customKey2: 'customVal2' }, "channels": [ { "credentials": { "deviceTokens": [ "token1", "token2" ] }, "_integrationId": "NOVU_GENERATED_INTEGRATION_ID", "providerId": "fcm" }, { "credentials": { "webhookUrl": "URL" }, "_integrationId": "NOVU_GENERATED_INTEGRATION_ID", "providerId": "discord" } ], "deleted": false, "createdAt": "2022-10-13T17:40:53.231Z", "updatedAt": "2022-10-13T17:41:53.238Z", "__v": 0, "isOnline": false, "lastOnlineAt": "2022-10-13T17:41:53.238Z", "avatar": "AVATAR_URL", "id": "NOVU_GENERATED_SUBSCRIBER_ID" } ); // Return the subscriber ID in JSON response res.status(200).json(circularJson.stringify(subscriber)); } catch (error) { res.status(500).json(circularJson.stringify({ message: error.message })); } }
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
here is the code that i wrote to create the sub
9 replies
NNovu
Created by N01R on 12/14/2023 in #💬│support
401 error on self deployed
should i also add the env id and the application identifier?
9 replies
NNovu
Created by N01R on 11/28/2023 in #💬│support
Deployement issue
No description
25 replies
NNovu
Created by N01R on 11/28/2023 in #💬│support
Deployement issue
and here is my error response
25 replies
NNovu
Created by N01R on 11/28/2023 in #💬│support
Deployement issue
i am currently trying to deploy using kubernetes
25 replies
NNovu
Created by N01R on 11/28/2023 in #💬│support
Deployement issue
im gettting a 431 response when im trying to sign in
25 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
thanks a lot
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
i'll let you know if its getting delayed again
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
ok it seemed faster than before right now
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
No description
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
and i got the message right now
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
lemme check the activity feed
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
ok so i sent the webhook right now
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
gimme 5 mins
38 replies
NNovu
Created by N01R on 11/27/2023 in #💬│support
Notifications are going extremely slow
sure
38 replies