There have been multiple reports here on the forums and Support issues logged for a recent problem with webhooks not working. We have been searching for the root cause of this issue over the last two weeks and have found the problem as well as a quick solution.
In short, a change was made in the underlying ArcGIS Online system which inadvertently affected webhooks not just in Power Automate, but in other client applications as well. This change made it so that 202 responses were no longer accepted in the webhook API and only accepted 200 responses.
If you had recently created a webhook, it might have appeared working about 5 to 6 times before it turned off. The results on the admin page for your feature layer might have looked something like this:
![AnthonyLatini_0-1723756441400.png AnthonyLatini_0-1723756441400.png](https://community.esri.com/t5/image/serverpage/image-id/112536i332BF53EBDFD2D4E/image-size/medium?v=v2&px=400)
Once the webhook reached its threshold of unsuccessful events, it would turn the webhook status to false. This would then stop your flows from triggering and running subsequent actions.
![AnthonyLatini_1-1723756441406.png AnthonyLatini_1-1723756441406.png](https://community.esri.com/t5/image/serverpage/image-id/112537iFFE3E8700AF9C0AB/image-size/medium?v=v2&px=400)
Currently, a patch is being worked on to resolve this issue in the ArcGIS Online system. Please note that we do not have an ETA on when the patch will be pushed, but we will monitor this closely.
However, we have a quick solution to get your flows up and running again. You only need to edit your flows once even after the patch has been deployed. Please see the steps below.
Thank you for your patience on this issue as we work through it!
----
- In Power Automate, navigate to your existing webhook flow
- Open the flow and click “Edit”
![AnthonyLatini_2-1723756441407.png AnthonyLatini_2-1723756441407.png](https://community.esri.com/t5/image/serverpage/image-id/112538i6F890753550651A5/image-size/medium?v=v2&px=400)
- Add a new action right after the trigger
- Search for Request in the action search box
- Select “Response” from the search results
![AnthonyLatini_3-1723756441409.png AnthonyLatini_3-1723756441409.png](https://community.esri.com/t5/image/serverpage/image-id/112539i19FDF50FD8998188/image-size/medium?v=v2&px=400)
- In the Response action, the “Status code” should be defaulted to “200”
![AnthonyLatini_4-1723756441410.png AnthonyLatini_4-1723756441410.png](https://community.esri.com/t5/image/serverpage/image-id/112540i5CD50686071276F8/image-size/medium?v=v2&px=400)
- Save the flow
- Navigate to your feature layer in your organization
- Scroll to the bottom of the page and open the service URL
![AnthonyLatini_5-1723756441413.png AnthonyLatini_5-1723756441413.png](https://community.esri.com/t5/image/serverpage/image-id/112541i4EC0EB001BBFB42E/image-size/medium?v=v2&px=400)
- In the upper right corner, click on Admin
![AnthonyLatini_6-1723756441414.png AnthonyLatini_6-1723756441414.png](https://community.esri.com/t5/image/serverpage/image-id/112542i4DD309C62F69DE55/image-size/medium?v=v2&px=400)
- At the bottom of the page, click on “Web Hooks”
![AnthonyLatini_7-1723756441415.png AnthonyLatini_7-1723756441415.png](https://community.esri.com/t5/image/serverpage/image-id/112543iD241EB91CEAA2F67/image-size/medium?v=v2&px=400)
- Next, select “Activate all” to ensure all of the webhooks are set to True
![AnthonyLatini_8-1723756441416.png AnthonyLatini_8-1723756441416.png](https://community.esri.com/t5/image/serverpage/image-id/112544i81F50FC625F62D5E/image-size/medium?v=v2&px=400)
Click on "Activate all" to enable all webhooks.
![AnthonyLatini_0-1723777412075.png AnthonyLatini_0-1723777412075.png](https://community.esri.com/t5/image/serverpage/image-id/112574iF5BAEF1851CE0FE1/image-size/medium?v=v2&px=400)
- The flows in Power Automate should now start to run again