Skip to main content
April 23, 2026
Solved

My integration object is calling the swagger endpoint multiple times when it is being failed

  • April 23, 2026
  • 5 replies
  • 1 view

My integration object  is calling the swagger endpoint multiple times when it is being failed. We have a log system in our SQL DB. When I test the endpoint from swagger, I am getting only one log but when I am I clicking on Test Request in the integration I am getting multiple logs

    Best answer by stefanhelzle0001

    Yeah, Appian might try a different authentication method.

    5 replies

    stefanhelzle0001
    April 23, 2026
    when it is being failed

    What is failing? Appian does automatic retry in certain situations.

    April 23, 2026

    when the swagger endpoint returns status code as 401, then I am getting multiple logs when I click Test request from Integration

    stefanhelzle0001
    April 23, 2026

    Yeah, Appian might try a different authentication method.

    April 25, 2026

    If only one log is written in the database, the repeated calls are likely failing before they reach the logging logic. The clear solution is to check API server logs to trace all incoming requests, review Appian integration timeout/error settings, and fix the failure point causing retries. Also move the logging step to the start of the API flow so every request attempt gets captured.

    shubhama926776
    April 27, 2026

    Test Request internally makes multiple calls to the endpoint - one for validation/inspection and one for the actual request.
    If you're using OAuth 2.0, an additional retry happens on 401 to refresh the token and re-call.
    This is expected behavior.