Application Engine Ends in No Success Despite Handled REST API Exception
I have an Application Engine program that calls an Application Package method. This method, in turn, calls a nested function, which ultimately invokes a REST API using SyncRequest
.
In certain scenarios, the API returns a 400 Bad Request response. In such cases, our intention is to log the error in a custom error table and continue processing without the process status being marked as No Success.
Currently, I’m using a try-catch
block to catch exceptions and log them via a custom error handler. However, I’ve noticed that even when the exception is caught and handled (including for codes like 401/403), the