<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
API Endpoint Flow Timing Out when Called even though the Flow Runs Successfully
Okta Classic Engine
Workflows
Okta Identity Engine
Overview

Sometimes, when calling an API Endpoint triggered flow, a timeout error will displayed in the service or program that is calling the API endpoint. However, when verifying the flow history, it appears that the flow executed successfully without error.

Applies To
  • Okta Workflows
Cause

The service or program in use is waiting for a response from Okta Workflows, but the flow took an extended time to complete execution. Therefore, a timeout error will be displayed.

Solution

One way to manage the risk of a timeout is to close the HTTP connection as quickly as possible.

A best practice is to add the API Connector Close card as the first card in the flow.

This allows the Workflows engine to immediately release its HTTP connection to the caller (HTTP client).

Then the Workflows engine asynchronously processes the rest of the flow. See Close.

API Close at beginning of flow

Related References

Loading
API Endpoint Flow Timing Out when Called even though the Flow Runs Successfully