Select to view content in your preferred language

8/15/24: Update and quick fix for issues with Webhooks not running in the ArcGIS Connector

1859
15
08-15-2024 02:19 PM
AnthonyLatini
Esri Contributor
5 15 1,859

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

 

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

 

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.

The fix has been deployed to production by the ArcGIS Online team and should be live. You may need to enable your webhooks again with the steps below to see the update. 

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!

 

----

 

 

  1. In Power Automate, navigate to your existing webhook flow
  2. Open the flow and click “Edit”
    AnthonyLatini_2-1723756441407.png
  3. Add a new action right after the trigger
  4. Search for Request in the action search box
  5. Select “Response” from the search results

AnthonyLatini_3-1723756441409.png

 

  1. In the Response action, the “Status code” should be defaulted to “200AnthonyLatini_4-1723756441410.png

     

  2. Save the flow
  3. Navigate to your feature layer in your organization
  4. Scroll to the bottom of the page and open the service URL

AnthonyLatini_5-1723756441413.png

 

  1. In the upper right corner, click on Admin

AnthonyLatini_6-1723756441414.png

 

  1. At the bottom of the page, click on “Web Hooks”

AnthonyLatini_7-1723756441415.png

 

  1. Next, select “Activate all” to ensure all of the webhooks are set to TrueAnthonyLatini_8-1723756441416.png

    Click on "Activate all" to enable all webhooks. 

    AnthonyLatini_0-1723777412075.png
  2. The flows in Power Automate should now start to run again
15 Comments