AppSheet API failure: 404 Not Found

I'm battling various issues with a webhook task that invokes the AppSheet API. One is that it sometimes returns the following exception:

  • Webhook HTTP post request failed with exception The remote server returned an error: (404) Not Found.

According to Invoke an action - AppSheet Help, that means "The application specified by the AppId cannot be found." I double-checked my app is selected in the webhook task's App Id property. Other webhook tasks for the same app work fine.

Any direction for the troubleshooting is appreciated.

Update:

I dug into the Audit Log, and it looks like the what's "not found" is the key of the first row to be processed. However, that key indeed exists. So, I feel like it's some security or permission issue, but I don't know what that could be--especially since the automation event has the Bypass Security Filters? property enabled.

Here's the error detail excerpted from the the Audit Log's row for the "REST API invoke" operation:

  • "Errors": "Row having key 'af3c549d' not found."

Here's some detail excerpted from the the Audit Log's row for the "Change Bot" webhook operation, showing the "not found" key was included in the payload--as you can imagine, as the result of an expression, which means it indeed exists:

  • "Payload": "{\"Action\": \"(redacted)\",\"Properties\": {\"Locale\": \"en-US\",\"RunAsUserEmail\": \"(redacted)\",\"UserSettings\": {\"Tenant ID\": \"29afa67e\"}},\"Rows\": [{\"(redacted) ID\": \"af3c549d\"},{\"Contact ID\": \"c232341c\"},{\"Contact ID\": \"95237b2e\"},{\"Contact ID\": \"019d885a\"},{\"Contact ID\": \"a741b642\"},{\"Contact ID\": \"0275844e\"},{\"Contact ID\": \"42710703\"},{\"Contact ID\": \"2b0ef19d\"},{\"Contact ID\": \"67282b21\"},{\"Contact ID\": \"cdad3185\"}]}"

And, here's all the IDs from the payload right together in the data source:

dbaum_0-1655689106949.png

If these additional clues help anyone help me, I'd really appreciate it.

0 10 1,086
10 REPLIES 10
Top Labels in this Space