<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
"429 Too Many Requests" Error When Using the Export Flow or Export Folder Cards in a Workflow
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

When using the Export Flow or Export Folder cards in Workflows, a 429 error may be  encountered, similar to the following:

{
  "_error": true,
  "retry_count": 0,
  "flo": 247234,
  "method": "QtHQeoWtK",
  "execution": "d182ab01-84ae-4cf4-9875-a3337e9cf159",
  "module": "utility.exportGroup",
  "kind": "HTTP Request Error",
  "statusCode": 429,
  "headers": {
    "x-rate-limit-limit": "200",
    "x-rate-limit-reset": "1687389341",
    "x-rate-limit-remaining": "0"
  },
  "body": "Too many requests.",
  "message": "429 Too Many Requests",
  "code": 429,
  "description": "HTTP Request Error",
  "steps": 2,
  "source": {
    "flo": 247234,
    "method": "QtHQeoWtK",
    "execution": "d182ab01-84ae-4cf4-9875-a3337e9cf159",
    "module": "utility.exportGroup"
  }
}
Applies To
  • Workflows
  • Export Flow card
  • Export Folder card
Cause

This error occurs when the rate limit for the number of workflows that can be exported is reached. The rate limit, referred to as the export capacity in the Export Flow and Export Folder documentation, is determined by the Workflows subscription plan.  The available export capacity is reset every 15 minutes. If the total number of workflows exported using a combination of these two cards exceeds the export capacity within the 15 minute window, the 429 Too Many Requests error will occur.

Solution

If encountering this error when exporting a large number of workflows to be saved as backups for disaster recovery purposes, consider the following approach to avoid rate limit violations:

  1. Identify the org's export capacity by looking at the x-rate-limit-limit header in headers object of the error message.  In this example, the limit is 200.
  2. Create separate workflows where the total number of workflows to be exported, using a combination of both the Export Flow and Export Folder cards, does not exceed the capacity limit per workflow.
  3. Schedule each workflow to run one after another in 15+ minute intervals.

Related References

Loading
"429 Too Many Requests" Error When Using the Export Flow or Export Folder Cards in a Workflow