N
Novu•2mo ago
SaMMaHeTa

Subscribers environment XYZ do not have active ABC integration.

I am using SelfHosting. I dosn't have any other CHAT integration. trying to create 1st and I created MSTeam integration and i am trying to update subscriber credential with webhook URL. but getting error from API like below. { "message": "Subscribers environment (64c36a101cc566874182051a) do not have active msteams-ZdVm06d95 integration.", "error": "Bad Request", "statusCode": 400 }
17 Replies
Pawan Jain
Pawan Jain•2mo ago
@SaMMaHeTa Did you make this newly added msteams integration active?
SaMMaHeTa
SaMMaHeTa•2mo ago
Hey @Pawan Jain thanks for watching this. I just resolved myself by checking below stuff. it was my mistake. is it was active and problem was with provider ID. i was passing Provider Identifier in Payload { "SubscriberId": "64c36a0c1cc566874182050b", "providerId": "msteams", "credentials": { "webhookUrl":"https://prod-05.centralindia.logic.azure.com:443..." } } So i checked all integration. then i found my mistake. so i replaced Provider ID with that integration object having. and API works.
Novu_Bot
Novu_Bot•2mo ago
@SaMMaHeTa, you just advanced to level 3!
Pawan Jain
Pawan Jain•2mo ago
Thanks for the update @SaMMaHeTa . Do you have any feedback on this? how we can improve?
SaMMaHeTa
SaMMaHeTa•2mo ago
yes, in documentation we need few improvement for this. it shouln't be loong description but. just one section. like how yuo can use this MSTeams integration. Step 1 : Create and Active that Step 2 : Use Subscruiber Update Credential api. And we can provide Code snippest. or may be only CURL. curl --location --request PUT 'https://api.novu.com/v1/subscribers/:subscriberId/credentials' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: ApiKey <Your_ENV_API_KEY>' \ --data '{ "SubscriberId": "<SubscriberId>", "providerId": "msteams", "credentials": { "webhookUrl":"<Your_Webhook_URL>" } }' similar.
Pawan Jain
Pawan Jain•2mo ago
We should have this error documented and reason of this error
SaMMaHeTa
SaMMaHeTa•2mo ago
let me know how can i help you. i will give all needed supprot from my end. in this URL may be wrong. as because i have replaced my self hosting url with api.novu.com.
Linear
Linear•2mo ago
SaMMaHeTa
SaMMaHeTa•2mo ago
[email protected] can you please give me access on this email
SaMMaHeTa
SaMMaHeTa•2mo ago
No description
Pawan Jain
Pawan Jain•2mo ago
Unfortunately, I will not be able to give access as this is our internal project management workspace. I created this issue and assigned to me so that I can fix the doc as per your suggestion
SaMMaHeTa
SaMMaHeTa•2mo ago
oh okey. no worries. i can help from here. just drop your needs and i will help from here. also i found another bugs in novu.
Pawan Jain
Pawan Jain•2mo ago
yeah feel free to share
SaMMaHeTa
SaMMaHeTa•2mo ago
and i have resolved for myself😅 i can share with your. should i share here in same thread or we have in another respective channel in our this discord server?
Pawan Jain
Pawan Jain•2mo ago
Yeah you can share here. You can hide any private info or you can share in personal message if you cannot hide personal info
SaMMaHeTa
SaMMaHeTa•2mo ago
i have one commit in my github. i am trying to share that whole commit changes. do you know the way? i am sharing in personal.
Pawan Jain
Pawan Jain•2mo ago
Want results from more Discord servers?
Add your server