Hi Reemali,
This points to a race condition, not a platform issue. When you click fast, the action runs in parallel and one call reaches it with invalid/not-ready data (e.g. undefined or incomplete response), causing the error.
What I would recommend is to prevent repeated clicks while the first download is still running. In practice, disable the button, show a progress state, or use a Boolean flag like IsDownloading so the nanoflow exits immediately on a second click. That is usually the cleanest fix for this kind of issue. Mendix’s JavaScript action model supports async execution, so guarding against re-entry on the nanoflow side is important here.
If this resolves your issue, you can mark it as accepted.