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
@SaMMaHeTa
Did you make this newly added msteams integration active?
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.
@SaMMaHeTa, you just advanced to level 3!
Thanks for the update @SaMMaHeTa .
Do you have any feedback on this? how we can improve?
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.
We should have this error documented and reason of this error
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.
GRW-90 - document step wise how to use msteams integration and possible errors
Status
Triage
Assignee
Pawan Jain
Growth
[email protected]
can you please give me access on this email
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
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.
yeah feel free to share
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?
Yeah you can share here. You can hide any private info
or you can share in personal message if you cannot hide personal info
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.