ファイルダウンロード操作時のタイムアウト

ウェブサイト上に生成されたCSVファイルのダウンロードを試みた際、意図せずタイムアウト画面に遷移し、ダウンロードが完了しない状態です。
通常、ダウンロード操作を行うとzipファイルが生成されますが、ファイルサイズは数KB程度で、1~2秒でダウンロードは完了します。
どなたか知見がございましたら、ご教示いただきたく存じます。

"ダウンロード"をクリックすると、このような画面に遷移します。

ダウンロードのクリック操作前に10秒、操作後に5秒の待機時間を設定しています。

Hi @flowerken22

Please try to use Wait for Download Activity.

Happy Automation

1 Like

Hi @flowerken22

“タイムアウトまたはシステムの異常が発生しました。 再度、業務メニューから実行しなおして下さい。” This is kind of business exception and you can write a custom logic to handle it, like navigating back to previous screen and Click on “Download” again.

Use Activities - Wait for Download activity, to download the file and set timeout like a 30 sec or 1 min. you can check if “タイムアウトまたはシステムの異常が発生しました。 再度、業務メニューから実行しなおして下さい。” this element is exist using Activities - Element Exists then handle it.

「ダウンロードを待機」アクティビティを使ってますか?

本件の発生頻度はどの程度でしょうか?毎回?稀に?
クリック時のイベントの問題かもしれませんので、取り急ぎクリックアクティビティの入力モードをHardwareEventにして改善するか確認してみてはと思います。

全体的なRPAの構成が不明なため推測にはなりますが、
「URLに移動」アクティビティによって画面遷移を行っている場合、
セキュリティの厳しいサイトではスクレイピング対策などにより、
不正アクセスと判定されてエラー画面に遷移させられるケースが見受けられます。

たとえば、ログイン後に中間の画面を経由せず、いきなりダウンロード画面へ遷移するような動作は、機械的すぎる操作として検知され、不正アクセス扱いとなる可能性があります。

このような場合は、「クリック」アクティビティなどを活用し、
人が実際に操作しているような自然な画面遷移を行うことで、
目的のダウンロード画面に正常に到達し、ダウンロードも正常にできる可能性が高まります。


Since the overall structure of the RPA is unclear, this is only a general assumption, but when using the “Navigate to URL” activity to transition between pages,
there are cases where websites with strict security measures may detect such behavior as unauthorized access—due to anti-scraping mechanisms—and redirect the user to an error page.

For example, navigating directly to the download page immediately after login, without passing through any intermediate screens, may be flagged as overly automated behavior and treated as suspicious activity.

In such cases, using activities like “Click” to simulate a more natural, human-like interaction with the screen can improve the chances of reaching the intended download page successfully and completing the download without issues.