web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Webhook Subscription gets automatically deleted from the "API webhook subscription" table

(1) ShareShare
ReportReport
Posted on by 2,320 Moderator
Having a SaaS Business Central US instance, I recently configured webhooks on a sandbox environment with a API having 2 fields from the item card. I was successful in creating the POST request for subscription but the subscription gets deleted from Business Central "API Webhook Subscription" as soon as the first time the webhook is triggered. The webhook's notificationurl is a Power Automate URL, which fires only once before I see the subscription getting deleted from the system table.
 
I understood that the subscription will get deleted in 3 days time, but that seems to not be the case
 
Screenshots with timestamps below
 
1. The subscription is created on sandbox thru POSTMAN. The response of the API tells me the success status
 
 
 
 
2. The API Webhook Subscription system table has the record for subscription ID 64995bc0b4e5466295caa30af6743ec7
 
 
 
 
 
3. As soon as the webhook is triggered for the first time upon item modification, the subscription is deleted from the API Webhook Subscription Table
 
Successful trigger of the PA Flow
 
 
When I try to get the active subscriptions thru POSTMAN, its gone
 
When i check the table from table information, its gone
 
 
Any ideas/solutions/links would be greatly appreciated
 
 
I have the same question (0)
  • peter_aronsson Profile Picture
    2 on at
    @
    We have exactly the same issue. Have you found the cause and a solution?
  • Suggested answer
    NAV_with_Narang Profile Picture
    2,320 Moderator on at
    Hi @peter - It turns out I discovered the root cause of the issue. I was using Power Automate as the Webhook Listener, which had a condition set to check if the client state was "ABCD."
     
    However, when I registered the Webhook using POSTMAN, I passed "WebhookToUpdateDataFromBC" as the client state.
    This mismatch in the client state value caused the flow condition in Power Automate to interfere. As a result, the webhook subscription request wasn't successfully registered, leading to the subscription being deleted immediately after creation due to the client state discrepancy.
     
    Hope it helps
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans